mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix bug when unzipping directory
This commit is contained in:
parent
4c78b5770c
commit
76d73951f2
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ module.exports = ArchiveManager =
|
|||
return callback(err)
|
||||
else
|
||||
zipfile.readEntry() # continue to the next file
|
||||
else # if it's a directory, continue
|
||||
zipfile.readEntry()
|
||||
# no more entries to read
|
||||
zipfile.on "end", callback
|
||||
|
||||
|
|
Loading…
Reference in a new issue