Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
🚨 Fix gosimple linter
Browse files Browse the repository at this point in the history
  • Loading branch information
dwisiswant0 committed Mar 24, 2021
1 parent ee23c7b commit 1cc5652
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pkg/matchers/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import "github.com/sahilm/fuzzy"

func IsMatchFuzz(pattern string, s []string) bool {
matches := fuzzy.Find(pattern, s)
if len(matches) > 0 {
return true
}

return false
return len(matches) > 0
}

0 comments on commit 1cc5652

Please sign in to comment.