diff --git a/src/cli/run.rs b/src/cli/run.rs index 7f87bedcf..37de86e0d 100644 --- a/src/cli/run.rs +++ b/src/cli/run.rs @@ -46,9 +46,7 @@ pub async fn execute(args: Args) -> anyhow::Result<()> { }); // Determine the current shell - let shell: ShellEnum = ShellEnum::from_env() - .or_else(ShellEnum::from_parent_process) - .unwrap_or_default(); + let shell: ShellEnum = ShellEnum::default(); // Construct an activator so we can run commands from the environment let prefix = get_up_to_date_prefix(&project).await?; diff --git a/src/command/mod.rs b/src/command/mod.rs index 19f360ff4..d75b9aab1 100644 --- a/src/command/mod.rs +++ b/src/command/mod.rs @@ -19,6 +19,7 @@ pub struct ProcessCmd { pub cmd: CmdArgs, /// A list of commands that should be run before this one + #[serde(default)] #[serde_as(deserialize_as = "OneOrMany<_, PreferMany>")] pub depends_on: Vec, }