Skip to content

Commit

Permalink
fix:Fix the linter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
schmidtw committed Jun 28, 2024
1 parent df0f6b0 commit 4dfd7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/xmidt-agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ func provideConfig(cli *CLI) (*goschtalt.Config, error) {
}

if cli.Default != "" {
err := os.WriteFile("./"+cli.Default, defaultConfigFile, 0644)
err := os.WriteFile("./"+cli.Default, defaultConfigFile, 0644) // nolint: gosec
if err != nil {
fmt.Fprintln(os.Stderr, err)
os.Exit(-1)
Expand Down

0 comments on commit 4dfd7f4

Please sign in to comment.