Fix tar extraction count when --quiet

This commit is contained in:
João Marcos 2025-05-17 12:51:13 -03:00
parent c3b89b038d
commit f8a1d4e288

View File

@ -59,9 +59,8 @@ pub fn unpack_archive(reader: Box<dyn Read>, output_folder: &Path, quiet: bool)
Bytes::new(file.size()),
utils::strip_cur_dir(&output_folder.join(file.path()?)),
));
files_unpacked += 1;
}
files_unpacked += 1;
}
Ok(files_unpacked)