Compare commits

..

3 Commits

Author SHA1 Message Date
Book Pauk
022dfd4709 Merge branch 'release/0.7.6a' 2019-11-03 17:04:39 +07:00
Book Pauk
71e08aacc3 Поправки багов 2019-11-03 17:03:58 +07:00
Book Pauk
337eca87f2 Merge tag '0.7.6' into develop
0.7.6
2019-10-30 17:37:19 +07:00
2 changed files with 3 additions and 1 deletions

View File

@@ -112,7 +112,7 @@ class FileDecompressor {
async unZip(filename, outputDir) {
const zip = new ZipStreamer();
return await await zip.unpack(filename, outputDir);
return await zip.unpack(filename, outputDir);
}
unBz2(filename, outputDir) {

View File

@@ -57,6 +57,8 @@ class ZipStreamer {
entryCallback = (entryCallback ? entryCallback : () => {});
const unzip = new unzipStream({file: zipFile});
unzip.on('error', reject);
let files = [];
unzip.on('extract', (en) => {
const entry = {path: en.name, size: en.size, compressedSize: en.compressedSize};