Skip to content

Commit

Permalink
fix: Linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Feb 24, 2024
1 parent 91dfb07 commit 5c5810d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sqlparser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ func extractAnnotation(line string) (annotation, error) {
a := annotation(cmd)

for s := range supportedAnnotations {
if strings.ToUpper(string(s)) == strings.ToUpper(string(a)) {
if strings.EqualFold(string(s), string(a)) {
return s, nil
}
}
Expand Down

0 comments on commit 5c5810d

Please sign in to comment.