From 3e95f15c706fa7a6180c66641597fbbe954692f2 Mon Sep 17 00:00:00 2001 From: Aditya Sirish A Yelgundhalli Date: Fri, 18 Oct 2024 13:02:32 -0400 Subject: [PATCH] Make linter happy --- .golangci.yml | 4 ++-- internal/rekor/oid/oid_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) } }