From eab9a27fa61278db05f439761a8221e5bfe909ae Mon Sep 17 00:00:00 2001 From: C-3PO Date: Thu, 5 Jul 2018 12:41:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=20Don't=20set=20=20max=20length=20?= =?UTF-8?q?a=202nd=20time?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/extractFileStream.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ssn/extractFileStream.ts b/src/ssn/extractFileStream.ts index 59b5e79..085541b 100644 --- a/src/ssn/extractFileStream.ts +++ b/src/ssn/extractFileStream.ts @@ -48,9 +48,5 @@ export default function extractFileStream(file: ISsnFileEntry, inputStream: stre }); curStream = curStream.pipe(decompressTransform); - //set max length - const maxLength2 = streamSetMaxLength(curStream, file.size); - curStream = maxLength2; - return curStream; }