🚧 Temporarily remove decompression for debugging
This commit is contained in:
parent
228f167711
commit
4e41a46006
1 changed files with 2 additions and 2 deletions
|
@ -21,13 +21,13 @@ export default function extractFileStream(file: ISsnFileEntry, inputStream: stre
|
|||
curStream = curStream.pipe(decryptTransform);
|
||||
}
|
||||
|
||||
//pipe into decompression
|
||||
/*//pipe into decompression
|
||||
const decompressTransform = zlib.createInflateRaw();
|
||||
decompressTransform.on('error', (error) => {
|
||||
//TODO: need to throw error sync, not async
|
||||
throw new Error(`Error during decompression of "${file.name}": ${error.message}`);
|
||||
});
|
||||
curStream = curStream.pipe(decompressTransform);
|
||||
curStream = curStream.pipe(decompressTransform);*/
|
||||
|
||||
return curStream;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue