Skip to content

Commit

Permalink
Update logref.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shysolocup authored Sep 26, 2024
1 parent 2838789 commit 7703b36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/logs/scripts/logref.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ groups.forEach((group, gi) => {

versionnames.forEach((vn, i) => {
if (versions[vn]) {
v = versions[vn].sort((a, b) => {
return (config.reverseSort) ? b - a : a - b;
});
let v = versions[vn].sort();
v = (config.reverseSort) ? v.reverse() : v;

content = content.concat(v);
}
});

content = content.join("\n\n");


fs.writeFileSync(logrefdir, content)


Expand Down

0 comments on commit 7703b36

Please sign in to comment.