From eb838e818535914e6e9c0b1935cbb379dab96634 Mon Sep 17 00:00:00 2001 From: Michal Date: Thu, 21 Jul 2022 16:43:19 +0100 Subject: [PATCH] Prune formatting --- src/operations/prune.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operations/prune.rs b/src/operations/prune.rs index e8372b6..732346e 100644 --- a/src/operations/prune.rs +++ b/src/operations/prune.rs @@ -110,6 +110,6 @@ pub fn prune(verbose: bool) { // Print which packages were deleted info!("Deleted the following packages:"); for p in packages_to_delete.iter_mut() { - info!("{}-{}-{}", p.name, p.ver, p.ext); + info!("{}-{}", p.name.replace("./", ""), p.ver); } }