Find the right `cargo-clippy` binary in CI

This commit is contained in:
Oli Scherer 2023-06-26 14:30:19 +00:00
parent 5bd97ac17a
commit 0a87ce8662
1 changed files with 2 additions and 1 deletions

View File

@ -161,7 +161,8 @@ fn run_ui_cargo() {
}
let mut config = base_config("ui-cargo");
config.program = CommandBuilder::cargo();
config.program.input_file_flag = CommandBuilder::cargo().input_file_flag;
config.program.out_dir_flag = CommandBuilder::cargo().out_dir_flag;
config.program.args = vec!["clippy".into(), "--color".into(), "never".into(), "--quiet".into()];
config
.program