Fix tslints
This commit is contained in:
@@ -57,9 +57,7 @@ export class CargoWatchProvider implements vscode.Disposable {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
let command = Server.config.cargoWatchOptions.checkCommand;
|
let args = Server.config.cargoWatchOptions.checkCommand + ' --all-targets --message-format json';
|
||||||
|
|
||||||
let args = command + ' --all-targets --message-format json';
|
|
||||||
if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
|
if (Server.config.cargoWatchOptions.checkArguments.length > 0) {
|
||||||
// Excape the double quote string:
|
// Excape the double quote string:
|
||||||
args += ' ' + Server.config.cargoWatchOptions.checkArguments;
|
args += ' ' + Server.config.cargoWatchOptions.checkArguments;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
|
|
||||||
import { Server } from './server';
|
|
||||||
import { strict } from 'assert';
|
import { strict } from 'assert';
|
||||||
|
import { Server } from './server';
|
||||||
|
|
||||||
const RA_LSP_DEBUG = process.env.__RA_LSP_SERVER_DEBUG;
|
const RA_LSP_DEBUG = process.env.__RA_LSP_SERVER_DEBUG;
|
||||||
|
|
||||||
@@ -116,7 +116,7 @@ export class Config {
|
|||||||
|
|
||||||
if (config.has('cargo-watch.check-command')) {
|
if (config.has('cargo-watch.check-command')) {
|
||||||
this.cargoWatchOptions.checkCommand = config.get<string>(
|
this.cargoWatchOptions.checkCommand = config.get<string>(
|
||||||
'cargo-watch.check-command',
|
'cargo-watch.check-command',
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user