This commit is contained in:
Johannes Rieken
2016-10-24 10:45:15 +02:00
parent c57061115c
commit 012622ead3

View File

@@ -207,8 +207,8 @@ export class CommandsConverter {
}
}
private _executeConvertedCommand([id]: number[]) {
const actualCmd = this._heap.get<vscode.Command>(id);
private _executeConvertedCommand(...args: any[]) {
const actualCmd = this._heap.get<vscode.Command>(args[0]);
return this._commands.executeCommand(actualCmd.command, ...actualCmd.arguments);
}