From e419e48e7f5e7efdd51651ee643aa4941661caf6 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 13 Nov 2024 19:18:14 +0100 Subject: [PATCH] fix: allow lines without comments --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index da6e698..8824703 100644 --- a/src/main.rs +++ b/src/main.rs @@ -143,7 +143,7 @@ async fn main() -> Result<()> { let l = if let Some((pr, _)) = l.split_once("#") { pr.parse::()? } else { - bail!("Could not parse line") + l.parse::()? }; let pr = get_pr(l, &client).await?; println!("Fetching diff for PR #{}: {}", l, pr.title);