From 73799640481c269a5aad408c99a22592d914fb1b Mon Sep 17 00:00:00 2001 From: Veetaha Date: Mon, 17 Feb 2020 22:09:44 +0200 Subject: vscode: press ; to respect semicolons --- editors/code/src/commands/index.ts | 2 +- editors/code/src/commands/ssr.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'editors/code/src/commands') diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts index d05f40d67..bebd99ca9 100644 --- a/editors/code/src/commands/index.ts +++ b/editors/code/src/commands/index.ts @@ -16,7 +16,7 @@ export * from './ssr'; export function collectGarbage(ctx: Ctx): Cmd { return async () => { - ctx.client?.sendRequest('rust-analyzer/collectGarbage', null); + await ctx.client?.sendRequest('rust-analyzer/collectGarbage', null); }; } diff --git a/editors/code/src/commands/ssr.ts b/editors/code/src/commands/ssr.ts index 6287bf47b..9b814612a 100644 --- a/editors/code/src/commands/ssr.ts +++ b/editors/code/src/commands/ssr.ts @@ -14,9 +14,9 @@ export function ssr(ctx: Ctx): Cmd { if (x.includes('==>>')) { return null; } - return "Enter request: pattern ==>> template" + return "Enter request: pattern ==>> template"; } - } + }; const request = await vscode.window.showInputBox(options); if (!request) return; -- cgit v1.2.3