Skip to content

Commit

Permalink
Fix incorrect fuzzy match when search is undefined
Browse files Browse the repository at this point in the history
Always return false from octopusFuzzyMatch() when search is false-y.
Previously, search=undefined incorrectly caused the function to return
true for any object that was missing one of the tested properties. This
affected Spaces and Environments, neither of which has a 'Slug'
property.

fixes #26 (really)
  • Loading branch information
wjrogers authored and github-actions committed May 4, 2022
1 parent 9b036a7 commit 4d9d9d7
Show file tree
Hide file tree
Showing 4 changed files with 10,465 additions and 0 deletions.
Loading

0 comments on commit 4d9d9d7

Please sign in to comment.