mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(ci): remove forced minimum fill on bundle size bars
This commit is contained in:
@@ -82,7 +82,7 @@ jobs:
|
||||
// Size bar: proportional block characters
|
||||
function sizeBar(bytes, maxBytes) {
|
||||
const width = 8;
|
||||
const filled = Math.max(1, Math.round((bytes / maxBytes) * width));
|
||||
const filled = Math.round((bytes / maxBytes) * width);
|
||||
return '█'.repeat(filled) + '░'.repeat(width - filled);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user