mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Consistently return an AtomWindow from openPackageUriHandler
This commit is contained in:
@@ -1196,6 +1196,7 @@ class AtomApplication extends EventEmitter {
|
||||
if (bestWindow) {
|
||||
bestWindow.sendURIMessage(url)
|
||||
bestWindow.focus()
|
||||
return bestWindow
|
||||
} else {
|
||||
let windowInitializationScript
|
||||
let {resourcePath} = this
|
||||
|
||||
Reference in New Issue
Block a user