mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 07:44:48 -05:00
fix(cli/upgrade): modify download size paddings (#10639)
This commit is contained in:
parent
af1546391c
commit
428bc6849f
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ async fn download_package(
|
||||||
print!("\u{001b}[1G\u{001b}[2K");
|
print!("\u{001b}[1G\u{001b}[2K");
|
||||||
}
|
}
|
||||||
print!(
|
print!(
|
||||||
"{:0>4.1} MiB / {:.1} MiB ({:0>5.1}%)",
|
"{:>4.1} MiB / {:.1} MiB ({:^5.1}%)",
|
||||||
current_size / MEBIBYTE,
|
current_size / MEBIBYTE,
|
||||||
total_size / MEBIBYTE,
|
total_size / MEBIBYTE,
|
||||||
(current_size / total_size) * 100.0,
|
(current_size / total_size) * 100.0,
|
||||||
|
|
Loading…
Reference in a new issue