Skip to content

Commit

Permalink
fix: releases
Browse files Browse the repository at this point in the history
I forgot to change the consts to let

(I don't have the environment up so testing in production, sorry)
  • Loading branch information
friday authored Nov 16, 2023
1 parent e52cc12 commit eefbab5
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 eefbab5

Please sign in to comment.