Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed Jul 16, 2024
1 parent 81236fd commit 7a2acda
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/turborepo-lib/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ impl CommandBase {
.dangerously_disable_package_manager_check
.then_some(true),
)
.with_env_mode(self.args.execution_args.as_ref().map(|args| args.env_mode))
.with_env_mode(
self.args
.execution_args
.as_ref()
.and_then(|args| args.env_mode),
)
.build()
}

Expand Down

0 comments on commit 7a2acda

Please sign in to comment.