mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
pathsToOpen and foldersToOpen may be undefined
This commit is contained in:
parent
88d7c6dbdd
commit
f68a511a90
@ -249,7 +249,7 @@ class AtomApplication extends EventEmitter {
|
||||
timeout,
|
||||
env
|
||||
})
|
||||
} else if (pathsToOpen.length > 0 || foldersToOpen.length > 0) {
|
||||
} else if ((pathsToOpen && pathsToOpen.length > 0) || (foldersToOpen && foldersToOpen.length > 0)) {
|
||||
return this.openPaths({
|
||||
pathsToOpen,
|
||||
foldersToOpen,
|
||||
|
Loading…
Reference in New Issue
Block a user