Pass the environment to the window if one is present

This commit is contained in:
Ash Wilson
2018-08-22 13:22:08 -04:00
parent e1015103c8
commit dbb3947250

View File

@@ -1168,6 +1168,7 @@ class AtomApplication extends EventEmitter {
env
})
this.addWindow(window)
if (env) window.replaceEnvironment(env)
return window
}