mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 16:20:26 +08:00
Fixing typo
This commit is contained in:
@@ -127,7 +127,7 @@ function sync(options = {}) {
|
||||
return new Promise((resolve, reject) => {
|
||||
checkForUpdate()
|
||||
.then((remotePackage) => {
|
||||
if (!remotePackage || (remotePackage.failedAppy && syncOptions.ignoreFailedUpdates)) {
|
||||
if (!remotePackage || (remotePackage.failedApply && syncOptions.ignoreFailedUpdates)) {
|
||||
resolve(CodePush.SyncStatus.NO_UPDATE_AVAILABLE);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user