- null check

This commit is contained in:
Mike Penz
2023-06-03 11:26:42 +00:00
committed by GitHub
parent e7dc26611c
commit bdefc2e9f2
2 changed files with 4 additions and 1 deletions
Generated Vendored
+3
View File
@@ -248,6 +248,9 @@ class ReleaseNotesBuilder {
} }
core.endGroup(); core.endGroup();
const prData = yield new github_pr_collector_1.PullRequestCollector(this.baseUrl, this.token, this.repositoryPath, this.owner, this.repo, this.fromTag, this.toTag, this.includeOpen, this.failOnError, this.ignorePreReleases, this.fetchReviewers, this.fetchReleaseInformation, this.fetchReviews, this.commitMode, this.configuration).build(); const prData = yield new github_pr_collector_1.PullRequestCollector(this.baseUrl, this.token, this.repositoryPath, this.owner, this.repo, this.fromTag, this.toTag, this.includeOpen, this.failOnError, this.ignorePreReleases, this.fetchReviewers, this.fetchReleaseInformation, this.fetchReviews, this.commitMode, this.configuration).build();
if (prData == null) {
return null;
}
const resolvedOptions = prData.options; const resolvedOptions = prData.options;
const options = { const options = {
owner: this.owner, owner: this.owner,
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long