We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e869b4d commit 8d93557Copy full SHA for 8d93557
ng-dev/pr/merge/strategies/api-merge.ts
@@ -196,13 +196,10 @@ export class GithubApiMergeStrategy extends MergeStrategy {
196
197
/** Gets all commit messages of commits in the pull request. */
198
private async _getPullRequestCommitMessages({prNumber}: PullRequest) {
199
- const allCommits: OctokitPullRequestCommitsList = await this.git.github.paginate(
200
- this.git.github.pulls.listCommits,
201
- {
202
- ...this.git.remoteParams,
203
- pull_number: prNumber,
204
- },
205
- );
+ const allCommits = await this.git.github.paginate(this.git.github.pulls.listCommits, {
+ ...this.git.remoteParams,
+ pull_number: prNumber,
+ });
206
return allCommits.map(({commit}) => commit.message);
207
}
208
0 commit comments