diff options
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r-- | editors/code/src/commands/index.ts | 2 | ||||
-rw-r--r-- | editors/code/src/commands/ssr.ts | 4 |
2 files changed, 3 insertions, 3 deletions
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'; | |||
16 | 16 | ||
17 | export function collectGarbage(ctx: Ctx): Cmd { | 17 | export function collectGarbage(ctx: Ctx): Cmd { |
18 | return async () => { | 18 | return async () => { |
19 | ctx.client?.sendRequest<null>('rust-analyzer/collectGarbage', null); | 19 | await ctx.client?.sendRequest<null>('rust-analyzer/collectGarbage', null); |
20 | }; | 20 | }; |
21 | } | 21 | } |
22 | 22 | ||
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 { | |||
14 | if (x.includes('==>>')) { | 14 | if (x.includes('==>>')) { |
15 | return null; | 15 | return null; |
16 | } | 16 | } |
17 | return "Enter request: pattern ==>> template" | 17 | return "Enter request: pattern ==>> template"; |
18 | } | 18 | } |
19 | } | 19 | }; |
20 | const request = await vscode.window.showInputBox(options); | 20 | const request = await vscode.window.showInputBox(options); |
21 | 21 | ||
22 | if (!request) return; | 22 | if (!request) return; |