mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-05-14 02:14:52 +08:00
Removing .done call
This commit is contained in:
@@ -218,8 +218,7 @@ const sync = (() => {
|
||||
const syncPromise = syncInternal(options, syncStatusChangeCallback, downloadProgressCallback);
|
||||
syncPromise
|
||||
.then(setSyncCompleted)
|
||||
.catch(setSyncCompleted)
|
||||
.done();
|
||||
.catch(setSyncCompleted);
|
||||
|
||||
return syncPromise;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user