Hello, we are having an issue with getting binary files using got.stream when we resolve the promise the result is undefined. All other file types png, jpg, pdf, etc work. The version of got we are using is 11.8.2 I've also tried updgrading/downgrading and the same issue appears.
Example:
const stream = got.stream(s3presignedURL);
promises.push(fileType.fromStream(stream));
fileType is the npm package file-type and promises is a promise array that we push too.
When we resolve these promises if one of the files is a binary file the result is undefined. Is there something we are doing wrong here?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too