Update frontend-js-size.yml

This commit is contained in:
syuilo 2026-06-20 20:03:57 +09:00
commit 3c003d73c4

View file

@ -156,7 +156,7 @@ jobs:
if (diff === 0) return `0%`;
const percent = Math.round(diff / beforeSize * 100);
const color = diff > 0 ? 'orange' : 'green';
return `$\\color{${color}}{\\text{${formatMathText(percent)}}}$`;
return `$\\color{${color}}{\\text{${formatMathText(percent.toString())}}}$`;
}
function escapeCell(value) {