mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update frontend-js-size.yml
This commit is contained in:
parent
36d78a788d
commit
3c003d73c4
1 changed files with 1 additions and 1 deletions
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue