summaryrefslogtreecommitdiffstats
path: root/pkg/utils
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-11-28 20:30:16 +1100
committerJesse Duffield <jessedduffield@gmail.com>2020-11-28 20:48:17 +1100
commit14ce23068384778a2c743769fd902f146a4f2eae (patch)
tree311faf204d937d9f79106685a8f28c59d0114b4f /pkg/utils
parentf31fbc10f6a60e493dd09ff602b08b83bd2124fe (diff)
refactor
Diffstat (limited to 'pkg/utils')
-rw-r--r--pkg/utils/fuzzy_search.go5
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)