Skip to content

Commit 3b0d459

Browse files
committed
Merge pull request #229 from Microsoft/promise_done
Removing .done call
2 parents 444d922 + 8da977e commit 3b0d459

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

CodePush.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,7 @@ const sync = (() => {
218218
const syncPromise = syncInternal(options, syncStatusChangeCallback, downloadProgressCallback);
219219
syncPromise
220220
.then(setSyncCompleted)
221-
.catch(setSyncCompleted)
222-
.done();
221+
.catch(setSyncCompleted);
223222

224223
return syncPromise;
225224
};

0 commit comments

Comments
 (0)