mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
revive command args using the arg processor logic, #1431
This commit is contained in:
@@ -116,7 +116,10 @@ export class ExtHostCommands implements ExtHostCommandsShape {
|
||||
}
|
||||
|
||||
$handleDidExecuteCommand(command: ICommandEvent): void {
|
||||
this._onDidExecuteCommand.fire({ command: command.commandId, arguments: command.args });
|
||||
this._onDidExecuteCommand.fire({
|
||||
command: command.commandId,
|
||||
arguments: command.args.map(arg => this._argumentProcessors.reduce((r, p) => p.processArgument(r), arg))
|
||||
});
|
||||
}
|
||||
|
||||
executeCommand<T>(id: string, ...args: any[]): Promise<T> {
|
||||
|
||||
Reference in New Issue
Block a user