upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-11-29 09:58:47 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2024-11-29 09:58:47 +0000
commit1d6958d0ddfc2c3c73df4f6928704e94a9526ff5 (patch)
tree1b1d984d78aa798d410218f2271525bd87c86caa /src/bin
parent7ccb251ea99e7a3f396754302eb0f836a1b5a608 (diff)
fix(push): maintainers.yaml check err handling
fix error introduced in 6bcac672e04cb316de1f952c08b07937c7db3cc6
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/git_remote_nostr/push.rs4
1 files changed, 2 insertions, 2 deletions
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(
173 events.push(event); 173 events.push(event);
174 } 174 }
175 175
176 if let Some(repo_ref_event) = get_maintainers_yaml_update( 176 if let Ok(Some(repo_ref_event)) = get_maintainers_yaml_update(
177 &term, 177 &term,
178 repo_ref, 178 repo_ref,
179 git_repo, 179 git_repo,
@@ -181,7 +181,7 @@ pub async fn run_push(
181 &signer, 181 &signer,
182 &git_server_refspecs, 182 &git_server_refspecs,
183 ) 183 )
184 .await? 184 .await
185 { 185 {
186 events.push(repo_ref_event); 186 events.push(repo_ref_event);
187 } 187 }