mirror of
https://github.com/status-im/status-github-bot.git
synced 2025-02-05 09:53:42 +00:00
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…
x
Reference in New Issue
Block a user