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

Commit c297adfa by Sascha Depold

curly bracets

1 parent b31f8faa
Showing with 3 additions and 2 deletions
...@@ -58,10 +58,11 @@ module.exports = (function() { ...@@ -58,10 +58,11 @@ module.exports = (function() {
} }
Sequelize.prototype.getMigrator = function(options, force) { Sequelize.prototype.getMigrator = function(options, force) {
if(force) if(force) {
this.migrator = new Migrator(this, options) this.migrator = new Migrator(this, options)
else } else {
this.migrator = this.migrator || new Migrator(this, options) this.migrator = this.migrator || new Migrator(this, options)
}
return this.migrator return this.migrator
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!