chore: print more accurate MiB instead of Mb when downloading browsers (#28304)

Fixes https://github.com/microsoft/playwright/issues/28283
This commit is contained in:
Yury Semikhatsky 2023-11-23 02:09:38 -08:00 committed by GitHub
parent 24c52d5755
commit 82f970e5c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,5 +170,5 @@ function getBasicDownloadProgress(): OnProgressCallback {
function toMegabytes(bytes: number) {
const mb = bytes / 1024 / 1024;
return `${Math.round(mb * 10) / 10} Mb`;
return `${Math.round(mb * 10) / 10} MiB`;
}