mirror of
https://github.com/microsoft/playwright.git
synced 2024-10-27 05:46:28 +03:00
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:
parent
24c52d5755
commit
82f970e5c1
@ -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`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user