Comparing version 5.0.7 to 5.0.8
@@ -49,4 +49,6 @@ 'use strict' | ||
if (matchOne(rule.when, actionsList[i].value)) { | ||
return ((rule.type === undefined && actionsList[i].type === undefined) || actionsList[i].type === rule.type) && | ||
((rule.confidence === undefined && actionsList[i].confidence === undefined) || actionsList[i].confidence > rule.confidence) | ||
if ((rule.type === undefined && actionsList[i].type === undefined) || actionsList[i].type === rule.type) && | ||
((rule.confidence === undefined && actionsList[i].confidence === undefined) || actionsList[i].confidence > rule.confidence) { | ||
return true | ||
} | ||
} | ||
@@ -53,0 +55,0 @@ } |
{ | ||
"name": "flowx", | ||
"version": "5.0.7", | ||
"version": "5.0.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
575
19996
9