🚑 Fix not waiting for read to be complete
This commit is contained in:
parent
0a23394b56
commit
dd9df23a5e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ export default async function extractFileStream(file: ISsnFileEntry, inputStream
|
||||||
const decryptTransform = decryptStream(file.decryptionKeys);
|
const decryptTransform = decryptStream(file.decryptionKeys);
|
||||||
curStream = curStream.pipe(decryptTransform);
|
curStream = curStream.pipe(decryptTransform);
|
||||||
//skip encryption header
|
//skip encryption header
|
||||||
readBytesFromStream(curStream, 12);
|
await readBytesFromStream(curStream, 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!skipDecompression) {
|
if (!skipDecompression) {
|
||||||
|
|
Loading…
Reference in a new issue