mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-11 04:48:44 +03:00
Push new paths onto existing array
This commit is contained in:
parent
320d177038
commit
2dc1817807
@ -26,7 +26,7 @@ class LoadPathsTask
|
||||
@callback(paths)
|
||||
deferred.resolve()
|
||||
stdout = (data) ->
|
||||
paths = paths.concat(_.compact(data.split('\n')))
|
||||
paths.push.apply(paths, _.compact(data.split('\n')))
|
||||
|
||||
@process = new BufferedProcess({command, args, stdout, exit})
|
||||
deferred
|
||||
|
Loading…
Reference in New Issue
Block a user