File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,7 @@ export class GitHubAPI {
200
200
}
201
201
const repo = this . repoMetadata . repoSlug
202
202
const prID = this . repoMetadata . pullRequestID
203
+ console . log ( "~~~ into getPullRequestInfo" )
203
204
const res = await this . get ( `repos/${ repo } /pulls/${ prID } ` )
204
205
const prDSL = ( await res . json ( ) ) as GitHubPRDSL
205
206
this . pr = prDSL
@@ -214,6 +215,7 @@ export class GitHubAPI {
214
215
getPullRequestCommits = async ( ) : Promise < any [ ] > => {
215
216
const repo = this . repoMetadata . repoSlug
216
217
const prID = this . repoMetadata . pullRequestID
218
+ console . log ( "~~~ into getPullRequestCommits" )
217
219
return await this . getAllOfResource ( `repos/${ repo } /pulls/${ prID } /commits` )
218
220
}
219
221
@@ -314,6 +316,7 @@ export class GitHubAPI {
314
316
315
317
getPullRequests = async ( ) : Promise < any > => {
316
318
const repo = this . repoMetadata . repoSlug
319
+ console . log ( '~~~ into getPullRequests' )
317
320
const res = await this . get ( `repos/${ repo } /pulls` )
318
321
319
322
return res . ok ? res . json ( ) : [ ]
You can’t perform that action at this time.
0 commit comments