diff --git a/src/ssn/extractFileStream.ts b/src/ssn/extractFileStream.ts index 55d9024..678b4d4 100644 --- a/src/ssn/extractFileStream.ts +++ b/src/ssn/extractFileStream.ts @@ -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; }