From 03128a2920874527b7519ac8520737052b9d2c68 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Sun, 8 Jul 2018 19:39:14 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=20Fix=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/extractFileStream.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssn/extractFileStream.ts b/src/ssn/extractFileStream.ts index 2adf192..c15f804 100644 --- a/src/ssn/extractFileStream.ts +++ b/src/ssn/extractFileStream.ts @@ -21,7 +21,7 @@ export default function extractFileStream(file: ISsnFileEntry, inputStream: stre curStream = curStream.pipe(decryptTransform); } - if (skipDecompression) { + if (!skipDecompression) { //pipe into decompression const decompressTransform = zlib.createInflateRaw(); decompressTransform.on('error', (error) => {