diff options
Diffstat (limited to 'pkg/utils')
-rw-r--r-- | pkg/utils/fuzzy_search.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/utils/fuzzy_search.go b/pkg/utils/fuzzy_search.go index c4bc078a3..4199d6c8b 100644 --- a/pkg/utils/fuzzy_search.go +++ b/pkg/utils/fuzzy_search.go @@ -11,11 +11,6 @@ func FuzzySearch(needle string, haystack []string) []string { return []string{} } - myHaystack := make([]string, len(haystack)) - for i := range haystack { - myHaystack[i] = haystack[i] - } - matches := fuzzy.Find(needle, haystack) sort.Sort(matches) |