Skip to content

Commit

Permalink
Fixed No such file or directory\nProbably broke something
Browse files Browse the repository at this point in the history
  • Loading branch information
l0go committed Jan 24, 2024
1 parent 5efbefc commit 21876e6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/cache_directory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(())
}

Expand All @@ -220,8 +218,6 @@ impl Cache {
let mut arc = Archive::new(tar);
arc.unpack(format!("{}/{to}", self.location))?;

fs::remove_file(archive_name)?;

Ok(())
}

Expand Down

0 comments on commit 21876e6

Please sign in to comment.