mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
listen on stdout when unzipping, unsticks some zips for some reason...
This commit is contained in:
parent
2a6ff8cc5d
commit
85befe0d57
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ module.exports = ArchiveManager =
|
|||
|
||||
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
|
||||
unzip.stderr.on "data", (chunk) ->
|
||||
error ||= ""
|
||||
|
|
Loading…
Reference in a new issue