- null check
This commit is contained in:
+3
@@ -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,
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user