From 4e41a46006ea6db78f0b0d69ffe152c45a4976ed Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 8 Jul 2018 19:34:34 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Temporarily=20remove=20decompres?= =?UTF-8?q?sion=20for=20debugging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/extractFileStream.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }