clamscan
clamscan copied to clipboard
fix: file is always null when using a server via tcp
trafficstars
fix: file is always null when a file is turned into a stream and then sent to a server
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)