aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/util/tar.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-17 02:53:53 +0900
committernsfisis <nsfisis@gmail.com>2026-05-17 02:53:53 +0900
commita1c7e6908a26e10f6e1f23a51721664b5e2d838d (patch)
treec575c76f1b43359ed74913da4c6a2636643f1ba0 /crates/shirabe/src/util/tar.rs
parent7f606f36fef0c0467c3c0db3d0da33af486dae8a (diff)
downloadphp-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.tar.gz
php-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.tar.zst
php-shirabe-a1c7e6908a26e10f6e1f23a51721664b5e2d838d.zip
chore(style): cargo fmt
Diffstat (limited to 'crates/shirabe/src/util/tar.rs')
-rw-r--r--crates/shirabe/src/util/tar.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/tar.rs b/crates/shirabe/src/util/tar.rs
index 253f142..2d44392 100644
--- a/crates/shirabe/src/util/tar.rs
+++ b/crates/shirabe/src/util/tar.rs
@@ -31,7 +31,11 @@ impl Tar {
return Err(anyhow::anyhow!(RuntimeException {
message: format!(
"Archive has more than one top level directories, and no composer.json was found on the top level, so it's an invalid archive. Top level paths found were: {}",
- top_level_paths.keys().cloned().collect::<Vec<_>>().join(",")
+ top_level_paths
+ .keys()
+ .cloned()
+ .collect::<Vec<_>>()
+ .join(",")
),
code: 0,
}));
@@ -50,7 +54,9 @@ impl Tar {
}
Err(anyhow::anyhow!(RuntimeException {
- message: "No composer.json found either at the top level or within the topmost directory".to_string(),
+ message:
+ "No composer.json found either at the top level or within the topmost directory"
+ .to_string(),
code: 0,
}))
}