Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 1419e64

Browse files
committed
Fixing promise chain
1 parent 5533643 commit 1419e64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CodePush.ios.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ function checkForUpdate() {
100100
.then((isFailedHash) => {
101101
update.failedApply = isFailedHash;
102102
resolve(update);
103-
});
103+
})
104+
.catch(reject)
105+
.done();
104106
} else {
105107
resolve(update);
106108
}
107109
})
108-
.catch(reject)
109-
.done();
110110
});
111111
});
112112
}

0 commit comments

Comments
 (0)