aboutsummaryrefslogtreecommitdiff
path: root/src/command/publish_archive.rs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-18 13:22:14 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-18 13:22:14 +0200
commit7edb7f578d5e87a4d9e28586c2e066269041cc1d (patch)
treec8b01fcbaac4b9c39f76ea743149d020a03c1625 /src/command/publish_archive.rs
parent8d11eb64efa67f1d7a6902300fdffd2c7c08df6c (diff)
Apply formatting
Diffstat (limited to 'src/command/publish_archive.rs')
-rw-r--r--src/command/publish_archive.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/command/publish_archive.rs b/src/command/publish_archive.rs
index 289b0c8..0d1bca5 100644
--- a/src/command/publish_archive.rs
+++ b/src/command/publish_archive.rs
@@ -23,9 +23,8 @@ impl super::Command for PublishArchive {
configuration: &Configuration,
_: &str,
) -> Result<()> {
- let input = input.ok_or_else(|| {
- Error::other("You must provide a location to publish the archive")
- })?;
+ let input = input
+ .ok_or_else(|| Error::other("You must provide a location to publish the archive"))?;
Command::new(COMMAND)
.arg("--version")