Skip to content

Commit

Permalink
Suppress linter warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed May 31, 2024
1 parent ba66d4e commit 2e1cae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func Edit(id string, getFunc func(id string) ([]byte, error), updateFunc func(fi
if err != nil {
return err
}
err = os.WriteFile(tmpfile.Name(), content, os.ModePerm)
err = os.WriteFile(tmpfile.Name(), content, os.ModePerm) //nolint:gosec
if err != nil {
return err
}
Expand Down

0 comments on commit 2e1cae8

Please sign in to comment.