aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/cargo_watch.ts
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/commands/cargo_watch.ts')
-rw-r--r--editors/code/src/commands/cargo_watch.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/editors/code/src/commands/cargo_watch.ts b/editors/code/src/commands/cargo_watch.ts
index db92e03f4..16aac3758 100644
--- a/editors/code/src/commands/cargo_watch.ts
+++ b/editors/code/src/commands/cargo_watch.ts
@@ -57,9 +57,7 @@ export class CargoWatchProvider implements vscode.Disposable {
57 return; 57 return;
58 } 58 }
59 59
60 let command = Server.config.cargoWatchOptions.checkCommand; 60 let args = Server.config.cargoWatchOptions.checkCommand + ' --all-targets --message-format json';
61
62 let args = command + ' --all-targets --message-format json';
63 if (Server.config.cargoWatchOptions.checkArguments.length > 0) { 61 if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
64 // Excape the double quote string: 62 // Excape the double quote string:
65 args += ' ' + Server.config.cargoWatchOptions.checkArguments; 63 args += ' ' + Server.config.cargoWatchOptions.checkArguments;