mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Push new paths onto existing array
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user