🗑 Don't set max length a 2nd time
This commit is contained in:
parent
7cb458dfc5
commit
eab9a27fa6
1 changed files with 0 additions and 4 deletions
|
@ -48,9 +48,5 @@ export default function extractFileStream(file: ISsnFileEntry, inputStream: stre
|
||||||
});
|
});
|
||||||
curStream = curStream.pipe(decompressTransform);
|
curStream = curStream.pipe(decompressTransform);
|
||||||
|
|
||||||
//set max length
|
|
||||||
const maxLength2 = streamSetMaxLength(curStream, file.size);
|
|
||||||
curStream = maxLength2;
|
|
||||||
|
|
||||||
return curStream;
|
return curStream;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue