xtask: Fixup, copy paste fail

This commit is contained in:
Henrik Tjäder 2023-02-06 13:41:01 +01:00
parent dc0ff017d6
commit 7bcbdf7306

View file

@ -456,7 +456,7 @@ fn example_check(cargoarg: &Option<&str>, target: &str, examples: &[String]) ->
mode: BuildMode::Release, mode: BuildMode::Release,
}; };
if let Err(err) = command_parser(&cmd, overwrite) { if let Err(err) = command_parser(&cmd, false) {
error!("{err}"); error!("{err}");
} }
}); });
@ -474,7 +474,7 @@ fn example_build(cargoarg: &Option<&str>, target: &str, examples: &[String]) ->
mode: BuildMode::Release, mode: BuildMode::Release,
}; };
if let Err(err) = command_parser(&cmd, overwrite) { if let Err(err) = command_parser(&cmd, false) {
error!("{err}"); error!("{err}");
} }
}); });