Skip to content

Commit

Permalink
fix: also make certain we are not auto installing inside shims by che…
Browse files Browse the repository at this point in the history
…cking

__MISE_SHIM
  • Loading branch information
jdx committed Nov 29, 2024
1 parent 35d31a1 commit b0c4a74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cli/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ impl Exec {
// in that case the user probably just wants that one tool
missing_args_only: !self.tool.is_empty()
|| !SETTINGS.exec_auto_install
|| !console::user_attended_stderr(),
|| !console::user_attended_stderr()
|| *env::__MISE_SHIM,
resolve_options: Default::default(),
};
measure!("install_arg_versions", {
Expand Down

0 comments on commit b0c4a74

Please sign in to comment.