From 06809ad8ed8dfab883d3f0b14433a6d1bb7b8342 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Thu, 5 Jul 2018 23:51:29 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20Add=20more=20debug=20info?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/streams/readLocalFileHeader.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ssn/streams/readLocalFileHeader.ts b/src/ssn/streams/readLocalFileHeader.ts index 91c52f8..729919d 100644 --- a/src/ssn/streams/readLocalFileHeader.ts +++ b/src/ssn/streams/readLocalFileHeader.ts @@ -17,6 +17,7 @@ function waitReadableLength(inputStream: stream.Readable, minLength: number): Pr * Returns length of the local file header. */ export default async function readLocalFileHeader(inputStream: stream.Readable): Promise { + console.log('stream type:', (inputStream as any).readableFlowing); let localFileHeader: Buffer = inputStream.read(30); if (localFileHeader === null) { console.log('Need to wait');