mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-07-25 12:05:19 +02:00
Update frontend-js-size.yml
This commit is contained in:
2
.github/workflows/frontend-js-size.yml
vendored
2
.github/workflows/frontend-js-size.yml
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user