From 1d6958d0ddfc2c3c73df4f6928704e94a9526ff5 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 29 Nov 2024 09:58:47 +0000 Subject: fix(push): maintainers.yaml check err handling fix error introduced in 6bcac672e04cb316de1f952c08b07937c7db3cc6 --- src/bin/git_remote_nostr/push.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin') diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs index 5b02483..dde4ab0 100644 --- a/src/bin/git_remote_nostr/push.rs +++ b/src/bin/git_remote_nostr/push.rs @@ -173,7 +173,7 @@ pub async fn run_push( events.push(event); } - if let Some(repo_ref_event) = get_maintainers_yaml_update( + if let Ok(Some(repo_ref_event)) = get_maintainers_yaml_update( &term, repo_ref, git_repo, @@ -181,7 +181,7 @@ pub async fn run_push( &signer, &git_server_refspecs, ) - .await? + .await { events.push(repo_ref_event); } -- cgit v1.2.3