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 4629613 commit e56d88d
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 @@ -81,7 +81,7 @@ groups.forEach((group, gi) => {
var v = content;

versionnames.forEach((vn, i) => {
if (group.includes(vn)) {
if (group.includes(`${vn}_`)) {
if (!versions[vn]) versions[vn] = { header: `### [${group}](${treelink}) (#${gi})`, content: [] };
v = versions[vn];
}
Expand Down Expand Up @@ -113,13 +113,13 @@ groups.forEach((group, gi) => {
versionnames.forEach((vn, i) => {
if (versions[vn]) {
let v = versions[vn].content

console.log(versions[vn]);

v = v.sort();
v = (config.reverseSort) ? v.reverse() : v;

v.unshift(versions[vn].header);

console.log(v);

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

0 comments on commit e56d88d

Please sign in to comment.