mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-21 01:29:59 +00:00
handle promise catches
This commit is contained in:
parent
eb69f67ab7
commit
1d0e93b58e
4 changed files with 4 additions and 4 deletions
|
@ -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] };
|
||||
})],
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue