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

Commit 9f9896f5 by jtschoonhoven

Comply with use strict (aka semicolins are fun and profitable)

1 parent e16a7bc3
Showing with 3 additions and 3 deletions
......@@ -35,7 +35,7 @@ module.exports = (function() {
return new Utils.CustomEventEmitter(function(emitter) {
if(options.method === 'down') {
self.getCompletedMigrations(function(err, migrations){
migrations.reverse()
migrations.reverse();
self.processMigrations(err, migrations, options, emitter);
});
} else {
......@@ -370,9 +370,9 @@ module.exports = (function() {
SequelizeMeta.find({ where: { from: from.migrationId.toString(), to: to.migrationId.toString() } })
.success(function(meta) {
if(meta){
meta.destroy().success(callback)
meta.destroy().success(callback);
} else {
callback()
callback();
}
});
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!