Skip to content

Commit

Permalink
fix bug during checking for updates during first run
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuC authored and MathieuC committed May 16, 2021
1 parent eb00ee1 commit c3596e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ExtensionStore/storeui.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ StoreUI.prototype.getInstalledVersion = function(){
var currentVersion = installedStore.version;
}else{
// in case of missing list file, we find out the current version by parsing the json ?
var json = store.localPackage;
var json = this.store.localPackage;
if (!json) throw new Error("Invalid store tbpackage.json")

var currentVersion = json.version;
Expand Down

0 comments on commit c3596e8

Please sign in to comment.