aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorLaurenČ›iu Nicola <[email protected]>2020-10-13 10:39:09 +0100
committerLaurenČ›iu Nicola <[email protected]>2020-10-13 10:47:01 +0100
commit513d25cf0349e174b36a086e636249a3369d2e7a (patch)
treef7c396e80d247551224f8c912f7edc271ba340df /editors
parent3d13939260f565fe6fb176b15e23201aafc2d11e (diff)
Fix resolveCodeAction request
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/commands.ts4
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
443export function resolveCodeAction(ctx: Ctx): Cmd { 443export 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 }