mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
... Right. Joanna can't handle spread properties in objects
This commit is contained in:
parent
15594dd8c2
commit
f1de652bac
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user