1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

bugfix for Node 6.x

This commit is contained in:
DengYun 2016-10-31 19:12:23 +08:00
parent 55878ce3d8
commit aba7a704a6

View File

@ -99,6 +99,9 @@ function readEntire(entry, zipFile) {
},
end() {
resolve(Buffer.concat(buffers));
},
prependListener() {
},
on() {
},
@ -155,7 +158,7 @@ async function diffFromPPK(origin, next, output) {
function addEntry(fn) {
//console.log(fn);
if (addedEntry[fn]) {
if (!fn || addedEntry[fn]) {
return;
}
const base = basename(fn);