mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-10-11 21:56:59 +08:00
fix(run-package-specs): Return if the user cancels out of the dialog (Sentry 812)
This commit is contained in:
parent
cf73768003
commit
3b342b2e20
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class Application
|
||||||
defaultPath: configDirPath,
|
defaultPath: configDirPath,
|
||||||
properties: ['openDirectory']
|
properties: ['openDirectory']
|
||||||
}, (filenames) =>
|
}, (filenames) =>
|
||||||
return if filenames.length is 0
|
return if not filenames or filenames.length is 0
|
||||||
@runSpecs
|
@runSpecs
|
||||||
exitWhenDone: false
|
exitWhenDone: false
|
||||||
resourcePath: @resourcePath
|
resourcePath: @resourcePath
|
||||||
|
|
Loading…
Add table
Reference in a new issue