Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Fixes random updates failures (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
svekl authored and itoys committed Feb 16, 2018
1 parent 5ecab79 commit ad5d2ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bin/www/localPackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ var LocalPackage = (function (_super) {
if (deploymentResult.isDiffUpdate) {
_this.verifyHash(deployDir, _this.packageHash, verificationFail, successCallback);
}
successCallback();
else {
successCallback();
}
}
}
};
Expand Down
3 changes: 2 additions & 1 deletion www/localPackage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ class LocalPackage extends Package implements ILocalPackage {
if (deploymentResult.isDiffUpdate){
//verifyHash
this.verifyHash(deployDir, this.packageHash, verificationFail, successCallback);
} else {
successCallback();
}
successCallback();
}
}
}
Expand Down

0 comments on commit ad5d2ee

Please sign in to comment.