Comparing version 0.1.8 to 0.1.9
@@ -32,3 +32,3 @@ var Validator = require('validator').Validator; | ||
var errors = validator.getErrors(); | ||
if (errors) { | ||
if (errors && errors.length > 0) { | ||
failed = true; | ||
@@ -35,0 +35,0 @@ cb(errors, null); |
@@ -6,3 +6,3 @@ { | ||
"keywords": ["Couchdb", "db", "ORM", "ODM", "couch"], | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"homepage": "http://garrensmith.com/LazyBoy", | ||
@@ -9,0 +9,0 @@ "repository": { |
61162