aboutsummaryrefslogtreecommitdiff
path: root/src/command/publish_archive.rs
diff options
context:
space:
mode:
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")