🚑 Fix build
This commit is contained in:
parent
7b5cdd5498
commit
6dc6aa8844
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export default async function getSolidpkg(product: Product, from: number, to: nu
|
||||||
await readLocalFileHeader(stream, true);
|
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.buffer)) as ISolid;
|
||||||
|
|
||||||
//Verify metafile.solid for correctness
|
//Verify metafile.solid for correctness
|
||||||
verifySolidpkg(solidContents, { product, from, to });
|
verifySolidpkg(solidContents, { product, from, to });
|
||||||
|
|
Loading…
Reference in a new issue