fix bug when unzipping directory

This commit is contained in:
Brian Gough 2017-10-17 16:31:35 +01:00
parent 4c78b5770c
commit 76d73951f2

View file

@ -94,6 +94,8 @@ module.exports = ArchiveManager =
return callback(err) return callback(err)
else else
zipfile.readEntry() # continue to the next file zipfile.readEntry() # continue to the next file
else # if it's a directory, continue
zipfile.readEntry()
# no more entries to read # no more entries to read
zipfile.on "end", callback zipfile.on "end", callback