Removing .done call

This commit is contained in:
Jonathan Carter
2016-03-07 08:58:49 -08:00
parent 444d92282d
commit 8da977ea90

View File

@@ -218,8 +218,7 @@ const sync = (() => {
const syncPromise = syncInternal(options, syncStatusChangeCallback, downloadProgressCallback);
syncPromise
.then(setSyncCompleted)
.catch(setSyncCompleted)
.done();
.catch(setSyncCompleted);
return syncPromise;
};