Fix tar extraction count when --quiet (#824)

This commit is contained in:
João Marcos 2025-05-17 13:02:38 -03:00 committed by GitHub
parent da9b32a366
commit 11344a6ffd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -31,6 +31,7 @@ Categories Used:
### Bug Fixes
- Fix tar extraction count when --quiet [\#824](https://github.com/ouch-org/ouch/pull/824) ([marcospb19](https://github.com/marcospb19))
- Fix 7z BadSignature error when compressing and then listing [\#819](https://github.com/ouch-org/ouch/pull/819) ([tommady](https://github.com/tommady))
### Tweaks

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)