Consistently return an AtomWindow from openPackageUriHandler

This commit is contained in:
Ash Wilson
2019-04-19 12:02:36 -04:00
parent a1e3598648
commit a303e31c1b

View File

@@ -1196,6 +1196,7 @@ class AtomApplication extends EventEmitter {
if (bestWindow) {
bestWindow.sendURIMessage(url)
bestWindow.focus()
return bestWindow
} else {
let windowInitializationScript
let {resourcePath} = this