leepowelldev / mongoose-validator

Validators for mongoose models utilising validator.js
MIT License
379 stars 43 forks source link

notEmpty returns true when the value is empty. #5

Closed tjmehta closed 11 years ago

tjmehta commented 11 years ago

notEmpty has an if statement that returns true if the value is empty. This is incorrect.

tjmehta commented 11 years ago

Fixed with https://github.com/leepowellcouk/mongoose-validator/pull/4

leepowelldev commented 11 years ago

This has now been merged and pushed into 0.1.4 - Thanks