Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 15c9d93

Browse files
committed
remove explicit null check
1 parent 43d6260 commit 15c9d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

HybridMobileDeploy.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function queryUpdate(callback) {
4646
if (err) callback(err);
4747
NativeHybridMobileDeploy.getLocalPackage(function(err, localPackage) {
4848
var queryPackage = {appVersion: configuration.appVersion};
49-
if (!err && localPackage !== null && localPackage.appVersion === configuration.appVersion) {
49+
if (!err && localPackage && localPackage.appVersion === configuration.appVersion) {
5050
queryPackage = localPackage;
5151
} else if (err) {
5252
console.log(err);

0 commit comments

Comments
 (0)