golangcilint: enable errorlint linter #343
Annotations
10 errors and 1 warning
lint:
internal/testutils/logwriter/logwrap.go#L48
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
internal/command/diff_inputs.go#L295
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
internal/command/diff_inputs.go#L334
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
internal/command/ls_outputs.go#L62
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
internal/command/ls_outputs.go#L70
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
internal/exec/command.go#L121
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
lint:
internal/fs/fs.go#L177
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
lint:
pkg/baur/cfgupgrade.go#L49
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint:
pkg/baur/cfgupgrade.go#L52
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint:
pkg/baur/cfgupgrade.go#L145
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/baur/baur. Supported file pattern: go.sum
|