Skip to content

Commit

Permalink
Fix the todo, warning sign not rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
h3ssan committed Aug 26, 2024
1 parent c51cc5d commit 5942599
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/audits/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ export async function renderAuditResultsToHTML(results: AuditResult[]) {
report += `<li><span style="font-family: monospace">💡</span> <b>${grouped.notice.length}</b> notices (suggestions)</li>\n`;
}
if (grouped.warn.length) {
// TODO: warning sign is rendered as "⚠️" in markdown instead of the emoji
report += `<li><span style="font-family: monospace">⚠️</span> <b>${grouped.warn.length}</b> warnings (optional)</li>\n`;
report += `<li><span style="font-family: monospace">❗️</span> <b>${grouped.warn.length}</b> warnings (optional)</li>\n`;
}
if (grouped.error.length) {
report += `<li><span style="font-family: monospace">❌</span> <b>${grouped.error.length}</b> errors (required)</li>\n`;
Expand Down

0 comments on commit 5942599

Please sign in to comment.