Skip to content

Commit

Permalink
adds to ResolvedConfigurationOptions (and the try_fold)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed Jul 15, 2024
1 parent 9a9f5c7 commit 1cda3d0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/turborepo-lib/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ impl ResolvedConfigurationOptions for RawTurboJson {
.map(|spaces_id| spaces_id.into());
opts.ui = self.ui.map(|ui| ui.use_tui());
opts.allow_no_package_manager = self.allow_no_package_manager;
opts.env_mode = self.env_mode;
Ok(opts)
}
}
Expand Down Expand Up @@ -750,6 +751,9 @@ impl TurborepoConfigBuilder {
{
acc.allow_no_package_manager = Some(allow_no_package_manager);
}
if let Some(env_mode) = current_source_config.env_mode {
acc.env_mode = Some(env_mode);
}

acc
})
Expand Down

0 comments on commit 1cda3d0

Please sign in to comment.