From 3b342b2e20e204ea473f529d930f00d56bfc4306 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 9 Sep 2015 17:26:17 -0700 Subject: [PATCH] fix(run-package-specs): Return if the user cancels out of the dialog (Sentry 812) --- src/browser/application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/application.coffee b/src/browser/application.coffee index 51320a38a..306eb80eb 100644 --- a/src/browser/application.coffee +++ b/src/browser/application.coffee @@ -238,7 +238,7 @@ class Application defaultPath: configDirPath, properties: ['openDirectory'] }, (filenames) => - return if filenames.length is 0 + return if not filenames or filenames.length is 0 @runSpecs exitWhenDone: false resourcePath: @resourcePath