fix regression with command args

This commit is contained in:
Johannes Rieken
2016-01-14 15:13:11 +01:00
parent 3d09f560f0
commit 491fc08ea2

View File

@@ -164,9 +164,9 @@ export class ExtHostAPIImplementation {
});
},
executeCommand<T>(id: string, ...args: any[]): Thenable<T> {
return pluginHostCommands.executeCommand(id, args);
return pluginHostCommands.executeCommand(id, ...args);
},
getCommands(filterInternal: boolean = false):Thenable<string[]> {
getCommands(filterInternal: boolean = false): Thenable<string[]> {
return pluginHostCommands.getCommands(filterInternal);
}
};