From 5ca738b84c206f0599dded04c28be27f241091d0 Mon Sep 17 00:00:00 2001 From: Wliu <50Wliu@users.noreply.github.com> Date: Thu, 15 Jun 2017 21:59:12 -0400 Subject: [PATCH] Always run tests where directed --- src/main-process/atom-application.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main-process/atom-application.coffee b/src/main-process/atom-application.coffee index 944f2783c..8e8fb8b55 100644 --- a/src/main-process/atom-application.coffee +++ b/src/main-process/atom-application.coffee @@ -120,7 +120,9 @@ class AtomApplication Promise.all(windowsClosePromises).then(=> @disposable.dispose()) launch: (options) -> - if options.pathsToOpen?.length > 0 or options.urlsToOpen?.length > 0 or options.test or options.benchmark or options.benchmarkTest + if options.test or options.benchmark or options.benchmarkTest + @openWithOptions(options) + else if options.pathsToOpen?.length > 0 or options.urlsToOpen?.length > 0 if @config.get('core.restorePreviousWindowsOnStart') is 'always' @loadState(_.deepClone(options)) @openWithOptions(options)