Skip to content

Commit 513d25c

Browse files
committed
Fix resolveCodeAction request
1 parent 3d13939 commit 513d25c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

editors/code/src/commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,8 +442,8 @@ export function openDocs(ctx: Ctx): Cmd {
442442

443443
export function resolveCodeAction(ctx: Ctx): Cmd {
444444
const client = ctx.client;
445-
return async () => {
446-
const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, null);
445+
return async (params: ra.ResolveCodeActionParams) => {
446+
const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, params);
447447
if (!item) {
448448
return;
449449
}

0 commit comments

Comments
 (0)