From f0379ffb3eef52ce1ec37278bd72bc6931d8003d Mon Sep 17 00:00:00 2001 From: Geoffrey Goh Date: Mon, 1 Aug 2016 16:25:03 -0700 Subject: [PATCH] CR feedback --- CodePush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodePush.js b/CodePush.js index 0e5071a..ae34b21 100644 --- a/CodePush.js +++ b/CodePush.js @@ -430,7 +430,7 @@ function codePushify(options = {}) { let rootComponentInstance = this.refs.rootComponent; let syncStatusCallback = rootComponentInstance && rootComponentInstance.codePushStatusDidChange; let downloadProgressCallback = rootComponentInstance && rootComponentInstance.codePushDownloadDidProgress; - CodePush.sync(options, syncStatusCallback, downloadProgressCallback) + CodePush.sync(options, syncStatusCallback, downloadProgressCallback); if (options.checkFrequency === CodePush.CheckFrequency.ON_APP_RESUME) { ReactNative.AppState.addEventListener("change", (newState) => { newState === "active" && CodePush.sync(options, syncStatusCallback, downloadProgressCallback);