Closed tstromberg closed 1 month ago
cc @egibs
Oh interesting. I'll take a look.
This is likely due to only supporting a single scan path (so in your example it only considered ~/Desktop
):
case c.String("image") == "" && !c.Bool("processes"):
cmdArgs := c.Args().Slice()
mc.ScanPaths = []string{cmdArgs[0]}
I'll work on a PR to support multiple scan paths.
If you pass multiple folders in,
scan
appears to exit after the first critical finding:In comparison: