1
1
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:
Mutasem 2022-01-25 20:14:59 +02:00
parent 65cce7e3e1
commit ef39f265c6

View File

@ -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;
}