diff options
| author | Sahandevs <sahandevs@gmail.com> | 2021-02-07 22:06:16 +0330 |
|---|---|---|
| committer | Sahandevs <sahandevs@gmail.com> | 2021-02-07 22:06:16 +0330 |
| commit | 2f82a84d2a06e24296bdbc4e8f50131539d5a749 (patch) | |
| tree | 302b1d5a48f84d1b41ff9d0296597fc701bd6558 /editors/code/src/client.ts | |
| parent | 3a0234d60f924cdec4a3fa2fccfe7ed85567f0bc (diff) | |
| download | rust-2f82a84d2a06e24296bdbc4e8f50131539d5a749.tar.gz rust-2f82a84d2a06e24296bdbc4e8f50131539d5a749.zip | |
fix errors
Diffstat (limited to 'editors/code/src/client.ts')
| -rw-r--r-- | editors/code/src/client.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/client.ts b/editors/code/src/client.ts index 6f2d48d1d56..aec5c70c076 100644 --- a/editors/code/src/client.ts +++ b/editors/code/src/client.ts @@ -138,7 +138,7 @@ export function createClient(serverPath: string, cwd: string, extraEnv: Env): lc command: "rust-analyzer.applyActionGroup", title: "", arguments: [items.map((item) => { - return { label: item.title, arguments: item.command.arguments[0] }; + return { label: item.title, arguments: item.command!.arguments![0] }; })], }; |
