Skip to content

Commit

Permalink
fix: extraneous bracket in section naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Codex- committed Oct 25, 2023
1 parent f441ad5 commit c11f60e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.mjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/tasks/knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ function buildArraySection(name: string, rawResults: Record<string, string[]>):
totalUnused += results.length;
tableBody.push([fileName, results.map((result) => `\`${result}\``).join("<br/>")]);
}
const sectionHeader = `### ${buildSectionName(name)}} (${totalUnused})`;
const sectionHeader = `### ${buildSectionName(name)} (${totalUnused})`;

return processSectionToMessage(sectionHeader, tableHeader, tableBody);
}
Expand Down

0 comments on commit c11f60e

Please sign in to comment.