async-validator
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -172,3 +172,3 @@ var util = require('./util'); | ||
} | ||
if (errors && rule.message) { | ||
if (errors && errors.length && rule.message) { | ||
errors = [].concat(rule.message); | ||
@@ -175,0 +175,0 @@ } |
{ | ||
"name": "async-validator", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "validate form asynchronous", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
43489