forked from mirrors/misskey
chore(dev): tweak frontend-js-size.mjs
This commit is contained in:
parent
2c814ecd83
commit
f703413a39
1 changed files with 1 additions and 1 deletions
2
.github/scripts/frontend-js-size.mjs
vendored
2
.github/scripts/frontend-js-size.mjs
vendored
|
|
@ -411,7 +411,7 @@ function chunkMarkdownTable(rows, total) {
|
|||
'| --- | ---: | ---: | ---: | ---: |',
|
||||
];
|
||||
if (total != null) {
|
||||
lines.push(`| (total) | ${formatBytes(total.beforeSize)} | ${formatBytes(total.afterSize)} | ${formatBytesDiff(total.beforeSize, total.afterSize)} | ${formatDiffPercent(total.beforeSize, total.afterSize)} |`);
|
||||
lines.push(`| (total) | ${formatBytes(total.beforeSize)} | ${formatBytes(total.afterSize)} | ${formatBytesDiff(total.beforeSize, total.afterSize)} | ${formatDiffPercent(total.beforeSize, total.afterSize).replaceAll('\\%', '\\\\%')} |`);
|
||||
lines.push('| | | | | |');
|
||||
}
|
||||
for (const row of rows) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue