Closed Gamewalker closed 5 months ago
I still had issues with this, but it pointed me in the right direction!
The following worked for me as I was using a callback
return hasCb ? cb(null, file, {...isInfected, file}, []) : resolve({ ...isInfected, file});
Looks great! Thanks! (And sorry for the delay)
fix: file is always null when a file is turned into a stream and then sent to a server