提交 2826369c 编写于 作者: M Matt Bierner

Make sure we send proper arguments to completion item command

Fixes #66870
上级 b4971f37
......@@ -268,7 +268,7 @@ export class SuggestController implements IEditorContribution {
} else {
// exec command, done
this._commandService.executeCommand(suggestion.command.id, suggestion.command.arguments ? [...suggestion.command.arguments] : []).catch(onUnexpectedError);
this._commandService.executeCommand(suggestion.command.id, ...(suggestion.command.arguments ? [...suggestion.command.arguments] : [])).catch(onUnexpectedError);
this._model.cancel();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册