Upgrade indicatif

Summary: Upgrade to indicatif 0.16 and remove this as an exposed dep in the third-party repo.

Reviewed By: aigoncharov

Differential Revision: D36591356

fbshipit-source-id: e3e3d67f8522b94861b34422606b85afbebf669b
This commit is contained in:
Pascal Hartig
2022-05-23 04:55:24 -07:00
committed by Facebook GitHub Bot
parent e639055fc4
commit ed454d876d
3 changed files with 8 additions and 16 deletions

View File

@@ -108,7 +108,7 @@ fn pack(
output_directory: &std::path::Path,
) -> Result<Vec<(PackType, path::PathBuf)>> {
let pb = default_progress_bar(pack_list.0.len() as u64 * 2 - 1);
pb.set_prefix(&format!(
pb.set_prefix(format!(
"{:width$}",
"Packing archives",
width = PROGRESS_PREFIX_LEN
@@ -262,7 +262,7 @@ fn compress_paths(
archive_paths: &[(PackType, path::PathBuf)],
) -> Result<Vec<(PackType, path::PathBuf)>> {
let pb = default_progress_bar(archive_paths.len() as u64 - 1);
pb.set_prefix(&format!(
pb.set_prefix(format!(
"{:width$}",
"Compressing archives",
width = PROGRESS_PREFIX_LEN
@@ -329,7 +329,7 @@ fn gen_manifest_files(
) -> Result<BTreeMap<PackType, PackFile>> {
use std::iter;
let pb = default_progress_bar((archive_paths.len() as u64 - 1) * 2);
pb.set_prefix(&format!(
pb.set_prefix(format!(
"{:width$}",
"Computing manifest",
width = PROGRESS_PREFIX_LEN