Skip to content

Commit

Permalink
Fix reference to response
Browse files Browse the repository at this point in the history
  • Loading branch information
romeovs committed Mar 6, 2020
1 parent b7526f1 commit 6edf6e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 6edf6e7

Please sign in to comment.