Push new paths onto existing array

This commit is contained in:
Kevin Sawicki 2013-04-03 08:24:31 -07:00
parent 320d177038
commit 2dc1817807

View File

@ -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