mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-06 23:26:25 +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)
|
@callback(paths)
|
||||||
deferred.resolve()
|
deferred.resolve()
|
||||||
stdout = (data) ->
|
stdout = (data) ->
|
||||||
paths = paths.concat(_.compact(data.split('\n')))
|
paths.push.apply(paths, _.compact(data.split('\n')))
|
||||||
|
|
||||||
@process = new BufferedProcess({command, args, stdout, exit})
|
@process = new BufferedProcess({command, args, stdout, exit})
|
||||||
deferred
|
deferred
|
||||||
|
Loading…
Reference in New Issue
Block a user