Closed arthi810 closed 1 month ago
You're running scanDir
but passing a single file. Use isInfected
, instead, if you want to scan a single file. Or pass the directory you want to scan (ex. /Users/mac/Assetplus/insurance-health/src/middlewares
)
When I run clamscan in the command line, it is able to scan the files in the location. But when I run the below code and pass a file to scan, its failing
Below is the complete error I received