Prepare 2.0.3

This commit is contained in:
Cooldude2606 committed 2026-10-25 20:15:27 +00:00
1 parent b474573633
commit 7fa511873b
14 files changed
+53 -14

No files matched your search

+5 -1
View File
@@ -160,11 +160,15 @@ function parseChangelog(parser: ParserState, pr: Issue, issues: Issue[]): [Chang
function changelogFromPullRequests(pullRequests: Issue[], issues: Issue[]) {
const mergedChangelog: Changelog = Object.create(null);
for (const pr of pullRequests) {
if (!pr.body) {
console.error(`Failed to extract changelog in ${pr.html_url}: Pull request has no body`);
continue;
}
const [
changelogFail,
changelogLines,
changelogFailReason
] = extractPullRequestChangelog(createParser(pr.body!.split(/\r?\n/)));
] = extractPullRequestChangelog(createParser(pr.body.split(/\r?\n/)));
if (changelogFail) {
console.error(`Failed to extract changelog in ${pr.html_url}: ${changelogFailReason}`)
continue;