fix errors

This commit is contained in:
Sahandevs 2021-02-07 22:06:16 +03:30
parent 3a0234d60f
commit 2f82a84d2a
4 changed files with 11 additions and 6 deletions

View file

@ -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] };
})],
};