aboutsummaryrefslogtreecommitdiff
path: root/src/command/add_remote.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/add_remote.rs
parent8d11eb64efa67f1d7a6902300fdffd2c7c08df6c (diff)
Apply formatting
Diffstat (limited to 'src/command/add_remote.rs')
-rw-r--r--src/command/add_remote.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/add_remote.rs b/src/command/add_remote.rs
index d22d484..7824af9 100644
--- a/src/command/add_remote.rs
+++ b/src/command/add_remote.rs
@@ -21,8 +21,8 @@ impl super::Command for AddRemote {
configuration: &Configuration,
_: &str,
) -> Result<()> {
- let input = input
- .ok_or_else(|| Error::other("You must provide a location for the remote."))?;
+ let input =
+ input.ok_or_else(|| Error::other("You must provide a location for the remote."))?;
add(
&configuration.config_directory,
&configuration.remote_config,