mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-10 15:49:36 +08:00
Remove reference to removed 'err' parameter
This commit is contained in:
@@ -62,8 +62,6 @@ function checkForUpdate(callback) {
|
||||
var queryPackage = {appVersion: config.appVersion};
|
||||
if (localPackage && localPackage.appVersion === config.appVersion) {
|
||||
queryPackage = localPackage;
|
||||
} else if (err) {
|
||||
console.log(err);
|
||||
}
|
||||
|
||||
sdk.queryUpdateWithCurrentPackage(queryPackage, callback);
|
||||
|
||||
Reference in New Issue
Block a user