diff --git a/dist/main.js b/dist/main.js index 3962af32..7594d034 100644 --- a/dist/main.js +++ b/dist/main.js @@ -22933,7 +22933,7 @@ async function changedFiles(github, repo, pr, count) { return } - for (const file of result.data) { + for (const file of response.data) { if (file.status === "added" || file.status === "modified" || file.status === "renamed") { files.push(file.filename); } diff --git a/src/files.js b/src/files.js index f27d3613..ee1dc55b 100644 --- a/src/files.js +++ b/src/files.js @@ -15,7 +15,7 @@ export async function changedFiles(github, repo, pr, count) { return } - for (const file of result.data) { + for (const file of response.data) { if (file.status === "added" || file.status === "modified" || file.status === "renamed") { files.push(file.filename) }