chore: report sizes in MB rather than MiB (#9734)

This commit is contained in:
Mathias Bynens 2023-02-22 15:36:39 +01:00 committed by GitHub
parent dbd41b554f
commit 559dde78de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {