diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-13 12:31:39 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-13 12:31:39 +0100 |
commit | 2d79bb9413b3e30d15d70b49ca19fcf47a97e592 (patch) | |
tree | f7c396e80d247551224f8c912f7edc271ba340df /editors | |
parent | 3d13939260f565fe6fb176b15e23201aafc2d11e (diff) | |
parent | 513d25cf0349e174b36a086e636249a3369d2e7a (diff) |
Merge #6213
6213: Fix resolveCodeAction request r=SomeoneToIgnore a=lnicola
Fixes #6204
Co-authored-by: Laurențiu Nicola <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/code/src/commands.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands.ts b/editors/code/src/commands.ts index 1445e41d3..22509e874 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts | |||
@@ -442,8 +442,8 @@ export function openDocs(ctx: Ctx): Cmd { | |||
442 | 442 | ||
443 | export function resolveCodeAction(ctx: Ctx): Cmd { | 443 | export function resolveCodeAction(ctx: Ctx): Cmd { |
444 | const client = ctx.client; | 444 | const client = ctx.client; |
445 | return async () => { | 445 | return async (params: ra.ResolveCodeActionParams) => { |
446 | const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, null); | 446 | const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, params); |
447 | if (!item) { | 447 | if (!item) { |
448 | return; | 448 | return; |
449 | } | 449 | } |