mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Merge branch 'develop' into sp-reaction
This commit is contained in:
commit
3405db42ea
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
|
|
@ -44,7 +44,7 @@ function formatNumber(value) {
|
|||
return numberFormatter.format(value);
|
||||
}
|
||||
|
||||
function formatBytes(size) {
|
||||
function formatBytes(value) {
|
||||
if (!Number.isFinite(value) || value <= 0) return '0 B';
|
||||
|
||||
const units = ['B', 'KiB', 'MiB', 'GiB'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue