aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/downloader/tar_downloader.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/shirabe/src/downloader/tar_downloader.rs')
-rw-r--r--crates/shirabe/src/downloader/tar_downloader.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/shirabe/src/downloader/tar_downloader.rs b/crates/shirabe/src/downloader/tar_downloader.rs
index a4446287..3c73595b 100644
--- a/crates/shirabe/src/downloader/tar_downloader.rs
+++ b/crates/shirabe/src/downloader/tar_downloader.rs
@@ -61,7 +61,7 @@ impl ArchiveDownloader for TarDownloader {
file: &str,
path: &str,
) -> anyhow::Result<Option<PhpMixed>> {
- let archive = PharData::new(file.to_string())?;
+ let archive = PharData::new(file)?;
archive.extract_to(path, None, true)?;
Ok(None)