Skip to content

Commit 0517ce9

Browse files
hi-leiclaude
andcommitted
fix(ci): suppress gosec G304 in test file
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent bd4d5fd commit 0517ce9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/verda-cli/cmd/auth/auth_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func TestWriteActiveProfile(t *testing.T) {
1616
t.Fatalf("writeActiveProfile() returned error: %v", err)
1717
}
1818

19-
data, err := os.ReadFile(path)
19+
data, err := os.ReadFile(path) //nolint:gosec // test file path
2020
if err != nil {
2121
t.Fatalf("os.ReadFile() returned error: %v", err)
2222
}

0 commit comments

Comments
 (0)