diff --git a/src/cache_directory.rs b/src/cache_directory.rs index 15861e5..f6d5734 100644 --- a/src/cache_directory.rs +++ b/src/cache_directory.rs @@ -207,8 +207,6 @@ impl Cache { let mut zip = ZipArchive::new(archive).unwrap(); zip.extract(format!("{}/{to}", self.location))?; - fs::remove_file(archive_name)?; - Ok(()) } @@ -220,8 +218,6 @@ impl Cache { let mut arc = Archive::new(tar); arc.unpack(format!("{}/{to}", self.location))?; - fs::remove_file(archive_name)?; - Ok(()) }