Skip to content

Commit

Permalink
Remove used nolint
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwald committed Dec 7, 2023
1 parent 5068755 commit f585c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func readModel(inputJSON string) (*xgbModel, error) {
if err != nil {
return nil, fmt.Errorf("error opening file: %w", err)
}
defer fh.Close() //nolint:gosec // not important
defer fh.Close()

var x xgbModel
if err := json.NewDecoder(fh).Decode(&x); err != nil {
Expand Down

0 comments on commit f585c63

Please sign in to comment.