Cleanup
This commit is contained in:
parent
f5f1109404
commit
44662eeed2
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue