host - reduce methods that are required

This commit is contained in:
Benjamin Pasero
2019-09-30 11:32:31 +02:00
parent 7928b7fb00
commit f8cdbe7421
40 changed files with 334 additions and 175 deletions

View File

@@ -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 });