diff --git a/.golangci.yml b/.golangci.yml index 047aa152..3121a66f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -28,10 +28,10 @@ issues: - text: "SA1019: package golang.org/x/crypto/openpgp" linters: - staticcheck + exclude-dirs: + - internal/fork max-issues-per-linter: 0 max-same-issues: 0 run: issues-exit-code: 1 timeout: 10m - skip-dirs: - - internal/fork diff --git a/internal/rekor/oid/oid_test.go b/internal/rekor/oid/oid_test.go index 5ee76883..dadfcf19 100644 --- a/internal/rekor/oid/oid_test.go +++ b/internal/rekor/oid/oid_test.go @@ -51,7 +51,7 @@ func TestOID(t *testing.T) { } if diff := cmp.Diff(tlog, got); diff != "" { - t.Errorf(diff) + t.Error(diff) } }