From b1bc629b83c65c0a3cc0e47a3f55969b9bab950e Mon Sep 17 00:00:00 2001 From: Aleksei Sidorov Date: Mon, 24 Jun 2019 13:33:37 +0300 Subject: Fix tslints --- editors/code/src/commands/cargo_watch.ts | 4 +--- editors/code/src/config.ts | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'editors/code/src') 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 { 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; diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 85366fc34..db46874dc 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -1,7 +1,7 @@ import * as vscode from 'vscode'; -import { Server } from './server'; import { strict } from 'assert'; +import { Server } from './server'; const RA_LSP_DEBUG = process.env.__RA_LSP_SERVER_DEBUG; @@ -116,7 +116,7 @@ export class Config { if (config.has('cargo-watch.check-command')) { this.cargoWatchOptions.checkCommand = config.get( - 'cargo-watch.check-command', + 'cargo-watch.check-command', '' ); } -- cgit v1.2.3