From 9fc7d4de4934f8ef7c2da4c9acf3f43952e36493 Mon Sep 17 00:00:00 2001 From: trivernis Date: Sat, 21 Jan 2023 21:58:26 +0100 Subject: [PATCH] Fix decompression progress bar --- src/repository/extract.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repository/extract.rs b/src/repository/extract.rs index f06ec5d..68c043c 100644 --- a/src/repository/extract.rs +++ b/src/repository/extract.rs @@ -86,7 +86,7 @@ fn extract_zip(src: &Path, dst: &Path) -> ExtractResult<()> { tracing::debug!("Extracting to {output_path:?}"); io::copy(&mut file, &mut file_output)?; } - pb.tick() + pb.inc(1); } pb.finish_with_message("Archive extracted.");