fix(run-package-specs): Return if the user cancels out of the dialog (Sentry 812)

This commit is contained in:
Ben Gotow 2015-09-09 17:26:17 -07:00
parent cf73768003
commit 3b342b2e20

View file

@ -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