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 cac8c4ec7a
commit 0b4ce76ac6

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