|
|
@ -109,8 +109,12 @@ pub fn prune(verbose: bool) {
|
|
|
|
log!(verbose, "Current dir: {:?}", env::current_dir().unwrap());
|
|
|
|
log!(verbose, "Current dir: {:?}", env::current_dir().unwrap());
|
|
|
|
|
|
|
|
|
|
|
|
// Print which packages were deleted
|
|
|
|
// Print which packages were deleted
|
|
|
|
info!("Deleted the following packages:");
|
|
|
|
if !packages_to_delete.is_empty() {
|
|
|
|
for p in packages_to_delete.iter_mut() {
|
|
|
|
info!("Deleted the following packages:");
|
|
|
|
info!("{}-{}", p.name.replace("./", ""), p.ver);
|
|
|
|
for p in packages_to_delete.iter_mut() {
|
|
|
|
|
|
|
|
info!("{}-{}", p.name.replace("./", ""), p.ver);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
info!("No packages were deleted.");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|