Permalink
Browse files

Use two spaces indents rather than four.

  • Loading branch information...
1 parent d60fa7f commit 663edc27e5083a7087b18b2fa2af3884a1560f48 @kunklejr kunklejr committed May 30, 2012
Showing with 8 additions and 7 deletions.
  1. +8 −7 lib/migrator.js
View
@@ -116,15 +116,16 @@ Migrator.prototype = {
callback(null);
return;
}
+
async.forEachSeries(toRun, function(migration, next) {
- self.driver.startMigration(function() {
- self.up(migration.up.bind(migration), function(err) {
- if (err) { callback(err); return; }
- self.writeMigrationRecord( migration, function(){self.driver.endMigration(next)});
- });
- });
+ self.driver.startMigration(function() {
+ self.up(migration.up.bind(migration), function(err) {
+ if (err) { callback(err); return; }
+ self.writeMigrationRecord(migration, function() { self.driver.endMigration(next) });
+ });
+ });
}, callback);
- });
+ });
});
},

0 comments on commit 663edc2

Please sign in to comment.