diff --git a/lib/github-helpers.js b/lib/github-helpers.js index e1754e7..c3af7ff 100644 --- a/lib/github-helpers.js +++ b/lib/github-helpers.js @@ -21,7 +21,7 @@ async function _getPullRequestReviewStates (github, prInfo) { const ghreviews = await github.paginate( github.pullRequests.getReviews({ ...prInfo, per_page: 100 }), res => res.data) - for (var review of ghreviews) { + for (const review of ghreviews) { switch (review.state) { case 'APPROVED': case 'CHANGES_REQUESTED': diff --git a/lib/slack-github-id-map.js b/lib/slack-github-id-map.js deleted file mode 100644 index e69de29..0000000