🚑 Fix function argument

This commit is contained in:
C-3PO 2018-07-08 20:18:44 +02:00
parent 4d8a631db4
commit ac8bb8b236
Signed by: c3po
GPG key ID: 62993C4BB4D86F24

View file

@ -41,7 +41,7 @@ export default async function getSolidpkg(product: Product, from: number, to: nu
const stream = arrayBufferToStream(ssnFile, firstFile.offset); const stream = arrayBufferToStream(ssnFile, firstFile.offset);
//Extract metafile.solid file //Extract metafile.solid file
await readLocalFileHeader(stream, skipAdditionalLength); await readLocalFileHeader(stream, true);
const solidFileStream = extractFileStream(firstFile, stream); const solidFileStream = extractFileStream(firstFile, stream);
const solidFileArrayBuffer = await streamToArrayBuffer(solidFileStream); const solidFileArrayBuffer = await streamToArrayBuffer(solidFileStream);
const solidContents = parseBencode(new DataView(solidFileArrayBuffer)) as ISolid; const solidContents = parseBencode(new DataView(solidFileArrayBuffer)) as ISolid;