From a303e31c1bc7b78e56fbbca3a5daedeb2569e88b Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Fri, 19 Apr 2019 12:02:36 -0400 Subject: [PATCH] Consistently return an AtomWindow from openPackageUriHandler --- src/main-process/atom-application.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main-process/atom-application.js b/src/main-process/atom-application.js index 097c6508a..66611b9e2 100644 --- a/src/main-process/atom-application.js +++ b/src/main-process/atom-application.js @@ -1196,6 +1196,7 @@ class AtomApplication extends EventEmitter { if (bestWindow) { bestWindow.sendURIMessage(url) bestWindow.focus() + return bestWindow } else { let windowInitializationScript let {resourcePath} = this