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

Commit 7888734e by Jan Aagaard Meier

Merge pull request #4084 from Znarkus/master

[Minor refactoring] Removed unnecessary code from instance validator
2 parents af21b157 a6648e85
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!