Don't open all precondition windows twice (oops)

This commit is contained in:
Ash Wilson
2019-04-16 15:59:46 -04:00
parent 2a50d87999
commit 58bd9bfa33

View File

@@ -160,12 +160,6 @@ class LaunchScenario {
await emitterEventPromise(window, 'window:locations-opened')
return window
})(app, fullRootPaths, fullEditorPaths))
windowPromises.push(app.openPaths({
newWindow: true,
foldersToOpen: fullRootPaths,
pathsToOpen: fullEditorPaths
}))
}
for (const window of await Promise.all(windowPromises)) {
this.windows.add(window)