🗑 Don't set max length a 2nd time

This commit is contained in:
C-3PO 2018-07-05 12:41:28 +02:00
parent 7cb458dfc5
commit eab9a27fa6
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -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;
}