Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "flowx", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,8 +23,8 @@ 'use strict' | ||
console.log(JSON.stringify(ruleArray)) | ||
if (ruleArray.length > 2) { | ||
if (ruleArray.length > 1) { | ||
exp = new RegExp(ruleArray[1], ruleArray[2]) | ||
} else { | ||
exp = new RegExp(ruleArray[1]) | ||
exp = new RegExp(ruleArray[0]) | ||
} | ||
return exp.test(test) | ||
} |
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