Merge branch 'master' into master-redesign

This commit is contained in:
James Allen 2014-06-20 11:18:43 +01:00
commit a2bb89b579

View file

@ -9,6 +9,10 @@ module.exports = ArchiveManager =
unzip = child.spawn("unzip", [source, "-d", destination]) unzip = child.spawn("unzip", [source, "-d", destination])
# don't remove this line, some zips need
# us to listen on this for some unknow reason
unzip.stdout.on "data", (d)->
error = null error = null
unzip.stderr.on "data", (chunk) -> unzip.stderr.on "data", (chunk) ->
error ||= "" error ||= ""