mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: report sizes in MB rather than MiB (#9734)
This commit is contained in:
parent
dbd41b554f
commit
559dde78de
@ -163,8 +163,8 @@ export class CLI {
|
||||
}
|
||||
|
||||
#toMegabytes(bytes: number) {
|
||||
const mb = bytes / 1024 / 1024;
|
||||
return `${Math.round(mb * 10) / 10} Mb`;
|
||||
const mb = bytes / 1000 / 1000;
|
||||
return `${Math.round(mb * 10) / 10} MB`;
|
||||
}
|
||||
|
||||
#makeProgressCallback(browser: Browser, buildId: string) {
|
||||
|
Loading…
Reference in New Issue
Block a user