... Right. Joanna can't handle spread properties in objects

This commit is contained in:
Ash Wilson 2019-01-04 09:06:19 -05:00
parent 15594dd8c2
commit f1de652bac
No known key found for this signature in database
GPG Key ID: 81B1DDB704F69D2A

View File

@ -1275,7 +1275,7 @@ class AtomApplication extends EventEmitter {
const normalizedPath = path.normalize(path.resolve(executedFrom, fs.normalize(pathToOpen)))
if (!url.parse(pathToOpen).protocol) pathToOpen = normalizedPath
return {pathToOpen, initialLine, initialColumn, ...extra}
return Object.assign({pathToOpen, initialLine, initialColumn}, extra)
}
// Opens a native dialog to prompt the user for a path.