We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6914447 commit cba35e1Copy full SHA for cba35e1
pkg/lint/context.go
@@ -43,7 +43,7 @@ func (cl *ContextBuilder) Build(ctx context.Context, log logutils.Log, linters [
43
}
44
45
if len(deduplicatedPkgs) == 0 {
46
- return nil, exitcodes.ErrNoGoFiles
+ return nil, fmt.Errorf("%w: running `go mod tidy` may solve the problem", exitcodes.ErrNoGoFiles)
47
48
49
ret := &linter.Context{
0 commit comments