diff --git a/.github/actions/time-to-first-review/index.js b/.github/actions/time-to-first-review/index.js index 0a494cd..7229a3b 100644 --- a/.github/actions/time-to-first-review/index.js +++ b/.github/actions/time-to-first-review/index.js @@ -42,8 +42,10 @@ try { const prs = await fetchPullRequests(repo, token, maxPRs); let timesToFirstReview = await Promise.all( - prs.map((pr) => getTimeToFirstReview(pr, repo, token)) - ).filter((time) => time); + prs + .map((pr) => getTimeToFirstReview(pr, repo, token)) + .filter((time) => time) + ); if (timesToFirstReview.length > 0) { const total = timesToFirstReview.reduce((sum, value) => sum + value, 0);