Skip to content

Commit 2553cd7

Browse files
committed
Merge pull request #344 from sankethkatta/master
fix(migration): remove check for undefined on down migrations.
2 parents 67ac66a + 39e0b88 commit 2553cd7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/skeleton.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ var Skeleton = Class.extend({
121121
if( migration instanceof Promise ) {
122122

123123
migration
124-
.then(function( Promise ) {
125-
if( Promise !== undefined && cb_executed === false ) {
124+
.then(function() {
125+
if( cb_executed === false ) {
126126

127127
cb_executed = true;
128128
resolve();

0 commit comments

Comments
 (0)