From 8da977ea9014ec111b9f1c450f26070d1a7ccc93 Mon Sep 17 00:00:00 2001 From: Jonathan Carter Date: Mon, 7 Mar 2016 08:58:49 -0800 Subject: [PATCH] Removing .done call --- CodePush.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; };