Skip to content

Commit 5942599

Browse files
committed
Fix the todo, warning sign not rendered
1 parent c51cc5d commit 5942599

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/audits/render.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ export async function renderAuditResultsToHTML(results: AuditResult[]) {
3939
report += `<li><span style="font-family: monospace">💡</span> <b>${grouped.notice.length}</b> notices (suggestions)</li>\n`;
4040
}
4141
if (grouped.warn.length) {
42-
// TODO: warning sign is rendered as "⚠️" in markdown instead of the emoji
43-
report += `<li><span style="font-family: monospace">⚠️</span> <b>${grouped.warn.length}</b> warnings (optional)</li>\n`;
42+
report += `<li><span style="font-family: monospace">❗️</span> <b>${grouped.warn.length}</b> warnings (optional)</li>\n`;
4443
}
4544
if (grouped.error.length) {
4645
report += `<li><span style="font-family: monospace">❌</span> <b>${grouped.error.length}</b> errors (required)</li>\n`;

0 commit comments

Comments
 (0)