Fixed recursive scoring results in fuzzy match lib
This commit is contained in:
parent
50f796049c
commit
47bbefd81f
@ -181,7 +181,6 @@ function fuzzyMatchRecursive(
|
||||
// Return best result
|
||||
if (recursiveMatch && (!matched || bestRecursiveScore > outScore)) {
|
||||
// Recursive score is better than "this"
|
||||
matches = [...bestRecursiveMatches];
|
||||
outScore = bestRecursiveScore;
|
||||
return [true, outScore, calcMatchRanges(matches)];
|
||||
} else if (matched) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user