We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1168c03 commit 7afff45Copy full SHA for 7afff45
src/github.ts
@@ -87,6 +87,8 @@ async function fetchPullRequestBodyFromCommits(
87
commits: string[],
88
graphqlWithAuth: Function
89
): Promise<string[]> {
90
+ console.log(`generated commits ${commits}`)
91
+
92
let commitsSubQuery = ''
93
for (const oid of commits) {
94
commitsSubQuery += `
@@ -115,7 +117,7 @@ async function fetchPullRequestBodyFromCommits(
115
117
`)
116
118
119
const commitsInfo: string[] = []
- for (const oid of commits) {
120
+ for (const oid of commits) {)
121
const commitResponse = response.repository[`commit_${oid}`]
122
if (commitResponse.associatedPullRequests.nodes.length > 0) {
123
commitsInfo.push(commitResponse.associatedPullRequests.nodes[0].body)
0 commit comments