mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
fix(run-package-specs): Return if the user cancels out of the dialog (Sentry 812)
This commit is contained in:
parent
cac8c4ec7a
commit
0b4ce76ac6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue