fix: allow lines without comments

This commit is contained in:
Patrick 2024-11-13 19:18:14 +01:00
parent 95eaf0190c
commit e419e48e7f
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F

View file

@ -143,7 +143,7 @@ async fn main() -> Result<()> {
let l = if let Some((pr, _)) = l.split_once("#") {
pr.parse::<u32>()?
} else {
bail!("Could not parse line")
l.parse::<u32>()?
};
let pr = get_pr(l, &client).await?;
println!("Fetching diff for PR #{}: {}", l, pr.title);