diff --git a/dist/index.js b/dist/index.js index 59019e8..11680da 100644 --- a/dist/index.js +++ b/dist/index.js @@ -36747,7 +36747,7 @@ async function run() { for await (const { data: reviews } of allReviews) { console.debug(`listReviews paged response response:\n ${JSON.stringify(reviews)}`); for (const review of reviews) { - if (review => review.state === 'APPROVED' && review.user?.login) { + if (review.state === 'APPROVED' && review.user?.login) { approvers.push(review.user?.login) } } diff --git a/index.js b/index.js index 19d7694..6ae849a 100644 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ async function run() { for await (const { data: reviews } of allReviews) { console.debug(`listReviews paged response response:\n ${JSON.stringify(reviews)}`); for (const review of reviews) { - if (review => review.state === 'APPROVED' && review.user?.login) { + if (review.state === 'APPROVED' && review.user?.login) { approvers.push(review.user?.login) } }