mirror of
https://github.com/n8n-io/n8n.git
synced 2024-09-11 13:15:28 +03:00
fix last issues
This commit is contained in:
parent
65cce7e3e1
commit
ef39f265c6
@ -155,7 +155,7 @@ function fuzzyMatchRecursive(
|
||||
|
||||
if (i > 0) {
|
||||
const prevIdx = matches[i - 1];
|
||||
if (currIdx == prevIdx + 1) {
|
||||
if (currIdx === prevIdx + 1) {
|
||||
outScore += SEQUENTIAL_BONUS;
|
||||
}
|
||||
}
|
||||
@ -171,7 +171,7 @@ function fuzzyMatchRecursive(
|
||||
) {
|
||||
outScore += CAMEL_BONUS;
|
||||
}
|
||||
const isNeighbourSeparator = neighbor == "_" || neighbor == " ";
|
||||
const isNeighbourSeparator = neighbor === "_" || neighbor === " ";
|
||||
if (isNeighbourSeparator) {
|
||||
outScore += SEPARATOR_BONUS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user