Fixes broken behavior with repositories containing multiple go packages. This change ensures that the successive find command are able to locate the path to golangci-lint properly.
Why is this needed
Fixes: #39
How Has This Been Tested?
Ran make golangci-lint-lint in a repo containing ~40 go packages
Hey @tstromberg I've opened up #45 with my version of these fixes. I also noticed that in multi-module mode no config file is actually used so fixed that too. I say lets go with #45 over this one, wdyt?
Signed-off-by: Thomas Stromberg t+github@chainguard.dev
Description
Fixes broken behavior with repositories containing multiple go packages. This change ensures that the successive find command are able to locate the path to golangci-lint properly.
Why is this needed
Fixes: #39
How Has This Been Tested?
Ran
make golangci-lint-lint
in a repo containing ~40 go packages