@octokit/rest              ^19.0.11  →  ^19.0.13
 @types/node                 ^20.3.0  →   ^20.4.0
 @typescript-eslint/parser   ^5.59.9  →   ^5.61.0
 eslint                      ^8.42.0  →   ^8.44.0
 eslint-plugin-jest          ^27.2.1  →   ^27.2.2
 jest                        ^29.5.0  →   ^29.6.1
 jest-circus                 ^29.5.0  →   ^29.6.1
 prettier                      2.8.8  →     3.0.0
 ts-jest                     ^29.1.0  →   ^29.1.1
 typescript                   ^5.1.3  →    ^5.1.6
 ```
This commit is contained in:
Mike Penz
2023-07-07 08:14:04 +00:00
committed by GitHub
parent 3fe2c7f8b9
commit ea9a74b697
7 changed files with 26911 additions and 9609 deletions
+4 -1
View File
@@ -71,7 +71,10 @@ type PullsListData = RestEndpointMethodTypes['pulls']['list']['response']['data'
type PullReviewsData = RestEndpointMethodTypes['pulls']['listReviews']['response']['data']
export class PullRequests {
constructor(private octokit: Octokit, private commits: Commits) {}
constructor(
private octokit: Octokit,
private commits: Commits
) {}
async getSingle(owner: string, repo: string, prNumber: number): Promise<PullRequestInfo | null> {
try {