Skip to content

Commit

Permalink
linter warnings resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
dadrus committed Dec 17, 2024
1 parent 2526b87 commit 6c1de07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/validation/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewValidator(opts ...Option) (Validator, error) {
name = fld.Name
}

return "'" + strings.SplitN(name, ",", 2)[0] + "'" // nolint: gomnd
return "'" + strings.SplitN(name, ",", 2)[0] + "'" // nolint: gomnd,mnd
})

for _, opt := range opts {
Expand Down

0 comments on commit 6c1de07

Please sign in to comment.