aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands
diff options
context:
space:
mode:
authorAleksei Sidorov <[email protected]>2019-06-24 11:33:37 +0100
committerAleksei Sidorov <[email protected]>2019-06-24 11:33:37 +0100
commitb1bc629b83c65c0a3cc0e47a3f55969b9bab950e (patch)
treebbe34a9a801a509050bf6d41420930336f331d01 /editors/code/src/commands
parent4722e6d491a29bdb077fc01aa8c5bdc734282c69 (diff)
Fix tslints
Diffstat (limited to 'editors/code/src/commands')
-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;