We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fdb720 commit 5c52a76Copy full SHA for 5c52a76
ui_test/src/dependencies.rs
@@ -5,7 +5,7 @@ use std::{
5
process::Command,
6
};
7
8
-use crate::Config;
+use crate::{Config, OutputConflictHandling};
9
10
#[derive(Default, Debug)]
11
pub struct Dependencies {
@@ -40,6 +40,9 @@ pub fn build_dependencies(config: &Config) -> Result<Dependencies> {
40
let setup_command = |cmd: &mut Command| {
41
cmd.envs(envs.iter().map(|(k, v)| (k, v)));
42
cmd.arg("--manifest-path").arg(manifest_path);
43
+ if matches!(config.output_conflict_handling, OutputConflictHandling::Error) {
44
+ cmd.arg("--locked");
45
+ }
46
47
48
setup_command(&mut build);
0 commit comments