From 94c77c32b4946f256cc45edfc8672846122835fd Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Sun, 12 Jun 2022 22:38:00 +1000 Subject: [PATCH] Make `debug!` message more consistent in `extract_compressed_from_readable` Signed-off-by: Jiahao XU --- src/helpers/extracter.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helpers/extracter.rs b/src/helpers/extracter.rs index 12133da2..cbf65802 100644 --- a/src/helpers/extracter.rs +++ b/src/helpers/extracter.rs @@ -81,21 +81,21 @@ pub(super) fn extract_compressed_from_readable } Tgz => { // Extract to install dir - debug!("Decompressing from tgz archive {msg}"); + debug!("Decompressing from tgz archive: {msg}"); let tar = GzDecoder::new(dat); untar(tar, op)?; } Txz => { // Extract to install dir - debug!("Decompressing from txz archive {msg}"); + debug!("Decompressing from txz archive: {msg}"); let tar = XzDecoder::new(dat); untar(tar, op)?; } Tzstd => { // Extract to install dir - debug!("Decompressing from tzstd archive {msg}"); + debug!("Decompressing from tzstd archive: {msg}"); // The error can only come from raw::Decoder::with_dictionary // as of zstd 0.10.2 and 0.11.2, which is specified