fix: (regression 0.45.0) bad zip files (crc) #338
Massimo Melina committed
Sep 13, 2023 at 15:21 UTC
daad25873dbc5675353eda0b4df29dee93d8584d
1 file changed
+1
src/QuickZipStream.ts
+1
@@ -162,6 +162,7 @@ export class QuickZipStream extends Readable {
162
data.on('error', (err) => console.error(err))
163
data.on('end', ()=>{
164
this.workingFile = undefined
165
+ entry.crc = crc
166
if (sourcePath)
167
crcCache[sourcePath] = { ts, crc }
168
this.entries.push(entry)