不要怂,就是干,撸起袖子干!

Commit a6648e85 by Markus Hedlund

[Minor refactoring] Removed unnecessary code from instance validator

1 parent af21b157
Showing with 0 additions and 4 deletions
......@@ -152,10 +152,6 @@ InstanceValidator.prototype.validate = function() {
if (self.errors.length) {
return new sequelizeError.ValidationError(null, self.errors);
}
return new Promise(function(resolve) {
resolve();
});
});
};
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!