summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index 5008a92..cb8e8e9 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -41,9 +41,7 @@ async fn main() -> eyre::Result<()> {
let host = host.map(|host| Url::parse(&host)).transpose()?;
let url = match host {
Some(url) => url,
- None => {
- repo::RepoInfo::get_current()?.url().clone()
- }
+ None => repo::RepoInfo::get_current()?.url().clone(),
};
let name = keys.get_login(&url)?.username();
eprintln!("currently signed in to {name}@{url}");
@@ -65,4 +63,3 @@ async fn readline(msg: &str) -> eyre::Result<String> {
})
.await?
}
-