mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Pass the environment to the window if one is present
This commit is contained in:
@@ -1168,6 +1168,7 @@ class AtomApplication extends EventEmitter {
|
||||
env
|
||||
})
|
||||
this.addWindow(window)
|
||||
if (env) window.replaceEnvironment(env)
|
||||
return window
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user