mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-03 22:05:57 +00:00
Return error, if previous release PR was not found
This commit is contained in:
parent
e328fc5e58
commit
74c0ccf05c
@ -71,7 +71,7 @@ impl PullRequestsSinceLastRelease {
|
|||||||
if pull_request_page.next.is_some() {
|
if pull_request_page.next.is_some() {
|
||||||
page += 1;
|
page += 1;
|
||||||
} else {
|
} else {
|
||||||
break;
|
return Err(anyhow!("Could not find previous release PR"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user