Skip to content

Commit fc04391

Browse files
committed
Gosec
1 parent d031855 commit fc04391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci-report/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func readGoldenFile(t *testing.T, name string) []byte {
5353
func updateGoldenFile(t *testing.T, name string, content []byte) bool {
5454
t.Helper()
5555
if *updateGoldenFiles {
56-
err := os.WriteFile(name, content, 0o644)
56+
err := os.WriteFile(name, content, 0o600)
5757
require.NoError(t, err, "error updating golden file")
5858
return true
5959
}

0 commit comments

Comments
 (0)