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 1ff81c1 commit 40976bfCopy full SHA for 40976bf
src/main.rs
@@ -59,6 +59,11 @@ where
59
let mut args = vec!["check".to_owned()];
60
61
for arg in old_args.by_ref() {
62
+ if arg == "--fix" {
63
+ args[0] = "fix".to_owned();
64
+ continue;
65
+ }
66
+
67
if arg == "--" {
68
break;
69
}
@@ -96,7 +101,7 @@ where
96
101
97
102
let exit_status = std::process::Command::new("cargo")
98
103
.args(&args)
99
- .env("RUSTC_WRAPPER", path)
104
+ .env("RUSTC_WORKSPACE_WRAPPER", path)
100
105
.env("CLIPPY_ARGS", clippy_args)
106
.envs(target_dir)
107
.spawn()
0 commit comments