Skip to content

Commit

Permalink
Merge pull request #1064 from carapace-sh/match-fix-equal
Browse files Browse the repository at this point in the history
match: fix equal
  • Loading branch information
rsteube authored Dec 26, 2024
2 parents 9503c7a + d186205 commit c9244b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/match/match.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (

func (m Match) Equal(s, t string) bool {
if m == CASE_INSENSITIVE {
strings.EqualFold(s, t)
return strings.EqualFold(s, t)
}
return s == t

Expand Down

0 comments on commit c9244b5

Please sign in to comment.