Skip to content

Commit 8d93557

Browse files
committed
fixup! build: update octokit dependencies
1 parent e869b4d commit 8d93557

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

ng-dev/pr/merge/strategies/api-merge.ts

+4-7
Original file line numberDiff line numberDiff line change
@@ -196,13 +196,10 @@ export class GithubApiMergeStrategy extends MergeStrategy {
196196

197197
/** Gets all commit messages of commits in the pull request. */
198198
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-
);
199+
const allCommits = await this.git.github.paginate(this.git.github.pulls.listCommits, {
200+
...this.git.remoteParams,
201+
pull_number: prNumber,
202+
});
206203
return allCommits.map(({commit}) => commit.message);
207204
}
208205

0 commit comments

Comments
 (0)