Comparing version 1.4.0 to 1.4.1
@@ -90,3 +90,3 @@ module.exports = createTriggerLoader | ||
} | ||
if (cond.action.equal) { | ||
if (typeof cond.action.equal !== 'undefined') { | ||
var possibleValues = cond.action.equal | ||
@@ -97,3 +97,3 @@ if (!Array.isArray(possibleValues)) { | ||
evCb(possibleValues.indexOf(result) > -1) | ||
} else if (cond.action.lessThan) { | ||
} else if (typeof cond.action.lessThan !== 'undefined') { | ||
evCb(parseInt(result, 10) < cond.action.lessThan) | ||
@@ -100,0 +100,0 @@ } |
{ | ||
"name": "automait", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "ISC", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7908