fix: allow lines without comments
This commit is contained in:
parent
95eaf0190c
commit
e419e48e7f
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue