Skip to content

Commit

Permalink
Merge pull request #20 from Ulauncher/releases-const-assign
Browse files Browse the repository at this point in the history
fix: assigning to constant in releases
  • Loading branch information
friday authored Nov 16, 2023
2 parents e52cc12 + eefbab5 commit a4b8f67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/js/releases.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jQuery(function($) {
console.error('Releases not found');
return;
}
const stableVer = stable.name || stable.tag_name;
const devVer = dev.name || dev.tag_name;
let stableVer = stable.name || stable.tag_name;
let devVer = dev.name || dev.tag_name;
if (stableVer.charAt(0) !== "v"){
stableVer = `v${stableVer}`
}
Expand Down

0 comments on commit a4b8f67

Please sign in to comment.