Skip to content

Commit 2c545b4

Browse files
committed
Add "Types" to Errors & Warnings on HTML report
1 parent ae3025f commit 2c545b4

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

dist/bin/check-performance.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -683,9 +683,9 @@ generate_html_report() {
683683
if [ "$exit_code" -ne 0 ]; then
684684
status_class="fail"
685685
if [ "$total_errors" -gt 0 ]; then
686-
status_message="✗ Check failed with $total_errors error(s)"
686+
status_message="✗ Check failed with $total_errors error type(s)"
687687
elif [ "$strict_mode" = "true" ] && [ "$total_warnings" -gt 0 ]; then
688-
status_message="✗ Check failed in strict mode with $total_warnings warning(s)"
688+
status_message="✗ Check failed in strict mode with $total_warnings warning type(s)"
689689
fi
690690
fi
691691

@@ -2266,9 +2266,9 @@ else
22662266
text_echo ""
22672267

22682268
if [ "$ERRORS" -gt 0 ]; then
2269-
text_echo "${RED}✗ Check failed with $ERRORS error(s)${NC}"
2269+
text_echo "${RED}✗ Check failed with $ERRORS error type(s)${NC}"
22702270
elif [ "$STRICT" = "true" ] && [ "$WARNINGS" -gt 0 ]; then
2271-
text_echo "${YELLOW}✗ Check failed in strict mode with $WARNINGS warning(s)${NC}"
2271+
text_echo "${YELLOW}✗ Check failed in strict mode with $WARNINGS warning type(s)${NC}"
22722272
else
22732273
text_echo "${GREEN}✓ All critical checks passed!${NC}"
22742274
fi

dist/bin/templates/report-template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,11 +267,11 @@ <h1>🚀 Neochrome Performance Report</h1>
267267
<!-- Summary Stats -->
268268
<div class="summary">
269269
<div class="stat-card errors">
270-
<div class="label">Errors</div>
270+
<div class="label">Error Types</div>
271271
<div class="value">{{TOTAL_ERRORS}}</div>
272272
</div>
273273
<div class="stat-card warnings">
274-
<div class="label">Warnings</div>
274+
<div class="label">Warning Types</div>
275275
<div class="value">{{TOTAL_WARNINGS}}</div>
276276
</div>
277277
<div class="stat-card baselined">

0 commit comments

Comments
 (0)