Skip to content

Commit

Permalink
Update type returned by fuzzyMatch method
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnaxsom committed Apr 29, 2018
1 parent 9afe16b commit 2d14a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia-app/app/common/misc.js
Expand Up @@ -237,7 +237,7 @@ export function escapeRegex (str: string): string {
return str.replace(ESCAPE_REGEX_MATCH, '\\$&');
}

export function fuzzyMatch (searchString: string, text: string): boolean {
export function fuzzyMatch (searchString: string, text: string): fuzzysort.result {
const searchTerms = searchString.trim(' ').split(' ');
const emptyResults = {
searchTermsMatched: 0,
Expand Down

0 comments on commit 2d14a20

Please sign in to comment.