🚧 Add more debug info
This commit is contained in:
parent
f284119bf1
commit
06809ad8ed
1 changed files with 1 additions and 0 deletions
|
@ -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<number> {
|
||||
console.log('stream type:', (inputStream as any).readableFlowing);
|
||||
let localFileHeader: Buffer = inputStream.read(30);
|
||||
if (localFileHeader === null) {
|
||||
console.log('Need to wait');
|
||||
|
|
Loading…
Reference in a new issue