summaryrefslogtreecommitdiffstats
path: root/src/commands/source.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/source.rs')
-rw-r--r--src/commands/source.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/source.rs b/src/commands/source.rs
index 3e0167d..6a58017 100644
--- a/src/commands/source.rs
+++ b/src/commands/source.rs
@@ -46,7 +46,7 @@ pub async fn source(
Some(("download", matches)) => download(matches, config, repo, progressbars).await,
Some(("of", matches)) => of(matches, config, repo).await,
Some((other, _)) => return Err(anyhow!("Unknown subcommand: {}", other)),
- None => return Err(anyhow!("No subcommand")),
+ None => Err(anyhow!("No subcommand")),
}
}