Fix vscode.newWindow args

This commit is contained in:
Rob Lourens
2019-03-21 23:49:14 +00:00
parent 1bccbd1cb6
commit 0118588327

View File

@@ -71,7 +71,7 @@ interface INewWindowAPICommandOptions {
export class NewWindowAPICommand {
public static ID = 'vscode.newWindow';
public static execute(executor: ICommandsExecutor, options?: INewWindowAPICommandOptions): Promise<any> {
return executor.executeCommand('_files.newWindow', [options]);
return executor.executeCommand('_files.newWindow', options);
}
}
CommandsRegistry.registerCommand({