Skip to content

Commit 7afff45

Browse files
committed
log commits
1 parent 1168c03 commit 7afff45

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/github.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ async function fetchPullRequestBodyFromCommits(
8787
commits: string[],
8888
graphqlWithAuth: Function
8989
): Promise<string[]> {
90+
console.log(`generated commits ${commits}`)
91+
9092
let commitsSubQuery = ''
9193
for (const oid of commits) {
9294
commitsSubQuery += `
@@ -115,7 +117,7 @@ async function fetchPullRequestBodyFromCommits(
115117
`)
116118

117119
const commitsInfo: string[] = []
118-
for (const oid of commits) {
120+
for (const oid of commits) {)
119121
const commitResponse = response.repository[`commit_${oid}`]
120122
if (commitResponse.associatedPullRequests.nodes.length > 0) {
121123
commitsInfo.push(commitResponse.associatedPullRequests.nodes[0].body)

0 commit comments

Comments
 (0)