diff --git a/CodePush.js b/CodePush.js index de322d2..58cf2e9 100644 --- a/CodePush.js +++ b/CodePush.js @@ -218,8 +218,7 @@ const sync = (() => { const syncPromise = syncInternal(options, syncStatusChangeCallback, downloadProgressCallback); syncPromise .then(setSyncCompleted) - .catch(setSyncCompleted) - .done(); + .catch(setSyncCompleted); return syncPromise; };