Fixing typo

This commit is contained in:
Jonathan Carter
2015-10-29 10:42:25 -07:00
parent 0c5cb645dc
commit 4968fe642c

View File

@@ -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 {