From 5c5810d1cf9c500f19d2eef270c1b83ddc497f51 Mon Sep 17 00:00:00 2001 From: Oleg Balunenko Date: Sun, 25 Feb 2024 01:43:05 +0400 Subject: [PATCH] fix: Linter warning --- internal/sqlparser/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sqlparser/parser.go b/internal/sqlparser/parser.go index adbece962..c1a0d0d50 100644 --- a/internal/sqlparser/parser.go +++ b/internal/sqlparser/parser.go @@ -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 } }