diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-13 11:31:39 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-13 11:31:39 +0000 |
| commit | 2d79bb9413b3e30d15d70b49ca19fcf47a97e592 (patch) | |
| tree | f7c396e80d247551224f8c912f7edc271ba340df | |
| parent | 3d13939260f565fe6fb176b15e23201aafc2d11e (diff) | |
| parent | 513d25cf0349e174b36a086e636249a3369d2e7a (diff) | |
| download | rust-2d79bb9413b3e30d15d70b49ca19fcf47a97e592.tar.gz rust-2d79bb9413b3e30d15d70b49ca19fcf47a97e592.zip | |
Merge #6213
6213: Fix resolveCodeAction request r=SomeoneToIgnore a=lnicola Fixes #6204 Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
| -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 1445e41d3cb..22509e87403 100644 --- a/editors/code/src/commands.ts +++ b/editors/code/src/commands.ts @@ -442,8 +442,8 @@ export function openDocs(ctx: Ctx): Cmd { export function resolveCodeAction(ctx: Ctx): Cmd { const client = ctx.client; - return async () => { - const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, null); + return async (params: ra.ResolveCodeActionParams) => { + const item: lc.WorkspaceEdit = await client.sendRequest(ra.resolveCodeAction, params); if (!item) { return; } |
