From 6d38db6ea029a9cb0d4d285672945a40a9e0f77c Mon Sep 17 00:00:00 2001 From: C-3PO Date: Thu, 21 Jun 2018 22:41:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20solidpkg=20reader?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/readSolidpkg.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/readSolidpkg.ts b/src/readSolidpkg.ts index d9ee50a..2efc6bb 100644 --- a/src/readSolidpkg.ts +++ b/src/readSolidpkg.ts @@ -17,6 +17,7 @@ export default function readSolidpkg(buffer: Buffer) { if (pos < 0) { throw new Error('Could not find end of central dir.'); } + pos += 4; //skip 6 bytes pos += 6;