mirror of
https://github.com/atom/atom.git
synced 2026-01-26 07:19:06 -05:00
Don't open all precondition windows twice (oops)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user