Skip to content

Commit

Permalink
Update cmd/provenanced/config/toml.go
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Wedul <[email protected]>
  • Loading branch information
Taztingo and SpicyLemon authored May 17, 2024
1 parent 2498991 commit 70eaa0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/provenanced/config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func WriteConfigToFile(configFilePath string, config *ClientConfig) {
panic(err)
}

//nolint:gosec
//nolint:gosec // The config file should be readable by anyone.
if err := os.WriteFile(configFilePath, buffer.Bytes(), 0o644); err != nil {
panic(err)
}
Expand Down

0 comments on commit 70eaa0e

Please sign in to comment.