mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
host - reduce methods that are required
This commit is contained in:
@@ -1626,7 +1626,7 @@ export class WindowsManager extends Disposable implements IWindowsMainService {
|
||||
cli = { ...cli, remote };
|
||||
}
|
||||
|
||||
const forceReuseWindow = options && options.reuse;
|
||||
const forceReuseWindow = options && options.forceReuseWindow;
|
||||
const forceNewWindow = !forceReuseWindow;
|
||||
|
||||
return this.open({ context, cli, forceEmpty: true, forceNewWindow, forceReuseWindow });
|
||||
|
||||
Reference in New Issue
Block a user