upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/export_keys.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-05-02 14:37:14 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2025-05-05 21:30:59 +0100
commita744f4aae9ffee9dd246090bef486b09433778d0 (patch)
tree5d1083668ec989d1fc8529a7ece60dc2bd4ec594 /src/bin/ngit/sub_commands/export_keys.rs
parent0f3969325385f2707e359cb28d9c49c509310452 (diff)
chore: nix flake update
update nix dependancies to latest version using default update options run `cargo clippy --fix` and `cargo fmt` to fix new clippy errors
Diffstat (limited to 'src/bin/ngit/sub_commands/export_keys.rs')
-rw-r--r--src/bin/ngit/sub_commands/export_keys.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/bin/ngit/sub_commands/export_keys.rs b/src/bin/ngit/sub_commands/export_keys.rs
index 45b1b89..4a32a3a 100644
--- a/src/bin/ngit/sub_commands/export_keys.rs
+++ b/src/bin/ngit/sub_commands/export_keys.rs
@@ -12,12 +12,7 @@ use crate::git::Repo;
12 12
13pub async fn launch() -> Result<()> { 13pub async fn launch() -> Result<()> {
14 let git_repo_result = Repo::discover().context("failed to find a git repository"); 14 let git_repo_result = Repo::discover().context("failed to find a git repository");
15 let git_repo = { 15 let git_repo = { git_repo_result.ok() };
16 match git_repo_result {
17 Ok(git_repo) => Some(git_repo),
18 Err(_) => None,
19 }
20 };
21 16
22 if let Ok((signer_info, source)) = get_signer_info(&git_repo.as_ref(), &None, &None, &None) { 17 if let Ok((signer_info, source)) = get_signer_info(&git_repo.as_ref(), &None, &None, &None) {
23 if let Ok((_, user_ref, source)) = load_existing_login( 18 if let Ok((_, user_ref, source)) = load_existing_login(