mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Command handlers are invoked with var-args
This commit is contained in:
@@ -157,7 +157,7 @@ export class MainThreadCommands {
|
||||
}
|
||||
|
||||
$executeCommand<T>(id: string, args: any[]): Thenable<T> {
|
||||
return this._keybindingService.executeCommand(id, args);
|
||||
return this._keybindingService.executeCommand(id, ...args);
|
||||
}
|
||||
|
||||
$getCommands(): Thenable<string[]> {
|
||||
|
||||
Reference in New Issue
Block a user