This commit is contained in:
Pedro Pombeiro 2018-03-27 20:39:11 +02:00
parent f5f1109404
commit 44662eeed2
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
2 changed files with 1 additions and 1 deletions

View File

@ -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':