Skip to content

Commit 7cec5fb

Browse files
aidenybaiamiagent
andcommitted
add warning count to summary for consistency with CLI output
Generated with [Ami](https://ami.dev) Co-Authored-By: Ami <noreply@ami.dev>
1 parent f605f49 commit 7cec5fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/website/src/components/terminal.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ const SCORE_BAR_WIDTH_DESKTOP = 30;
2121
const SCORE_GOOD_THRESHOLD = 75;
2222
const SCORE_OK_THRESHOLD = 50;
2323
const DIAGNOSTIC_COUNT_MOBILE = 3;
24-
const TOTAL_ERROR_COUNT = 36;
24+
const TOTAL_ERROR_COUNT = 22;
25+
const TOTAL_WARNING_COUNT = 14;
2526
const AFFECTED_FILE_COUNT = 18;
2627
const ELAPSED_TIME = "2.1s";
2728

@@ -386,6 +387,8 @@ const Terminal = () => {
386387
<Spacer />
387388
<div>
388389
<span className="text-red-400">{TOTAL_ERROR_COUNT} errors</span>
390+
{" "}
391+
<span className="text-yellow-500">{TOTAL_WARNING_COUNT} warnings</span>
389392
<span className="text-neutral-500">
390393
{` across ${AFFECTED_FILE_COUNT} files in ${ELAPSED_TIME}`}
391394
</span>

0 commit comments

Comments
 (0)