mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 15:25:47 +01:00
use forceReuseWindow in openNewWindow
This commit is contained in:
@@ -1580,8 +1580,8 @@ export class WindowsManager implements IWindowsMainService {
|
||||
if (cli && (cli.remote !== remote)) {
|
||||
cli = { ...cli, remote };
|
||||
}
|
||||
const forceNewWindow = !(options && options.reuseWindow);
|
||||
return this.open({ context, cli, forceNewWindow, forceEmpty: true });
|
||||
const forceReuseWindow = options && options.reuseWindow;
|
||||
return this.open({ context, cli, forceEmpty: true, forceReuseWindow });
|
||||
}
|
||||
|
||||
openNewTabbedWindow(context: OpenContext): ICodeWindow[] {
|
||||
|
||||
Reference in New Issue
Block a user