Fix tslints

This commit is contained in:
Aleksei Sidorov 2019-06-24 13:33:37 +03:00
parent 4722e6d491
commit b1bc629b83
2 changed files with 3 additions and 5 deletions

View file

@ -57,9 +57,7 @@ export class CargoWatchProvider implements vscode.Disposable {
return;
}
let command = Server.config.cargoWatchOptions.checkCommand;
let args = command + ' --all-targets --message-format json';
let args = Server.config.cargoWatchOptions.checkCommand + ' --all-targets --message-format json';
if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
// Excape the double quote string:
args += ' ' + Server.config.cargoWatchOptions.checkArguments;