From 570ad62875c191c6bb7809e936a64938eb0fb310 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 20 Feb 2024 12:17:25 +0000 Subject: refactor: tweak error wording remove the word nostr for consistency and as its a bit confusing --- src/sub_commands/push.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs index 0fdd56f..2500e9f 100644 --- a/src/sub_commands/push.rs +++ b/src/sub_commands/push.rs @@ -76,14 +76,14 @@ pub async fn launch(cli_args: &Cli) -> Result<()> { .context("latest patch event commit tag isn't a valid SHA1 hash")?; if most_recent_patch_commit_id.eq(&branch_tip) { - bail!("nostr proposal already up-to-date with local branch"); + bail!("proposal already up-to-date with local branch"); } if most_recent_proposal_patch_chain.iter().any(|e| { let c = tag_value(e, "parent-commit").unwrap_or_default(); c.eq(&branch_tip.to_string()) }) { - bail!("nostr proposal is ahead of local branch"); + bail!("proposal is ahead of local branch"); } let (ahead, behind) = git_repo -- cgit v1.2.3