Skip to content

Commit

Permalink
Merge pull request #344 from sankethkatta/master
Browse files Browse the repository at this point in the history
fix(migration): remove check for undefined on down migrations.
  • Loading branch information
wzrdtales committed Jan 25, 2016
2 parents 67ac66a + 39e0b88 commit 2553cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ var Skeleton = Class.extend({
if( migration instanceof Promise ) {

migration
.then(function( Promise ) {
if( Promise !== undefined && cb_executed === false ) {
.then(function() {
if( cb_executed === false ) {

cb_executed = true;
resolve();
Expand Down

0 comments on commit 2553cd7

Please sign in to comment.