From 6edf6e7b0abef9e1979b0aa8c9565df3ee2ca5a9 Mon Sep 17 00:00:00 2001 From: Romeo Date: Fri, 6 Mar 2020 11:27:11 +0000 Subject: [PATCH] Fix reference to response --- dist/main.js | 2 +- src/files.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) }