Skip to content

Commit

Permalink
chore: use Spinner directly
Browse files Browse the repository at this point in the history
  • Loading branch information
markokajzer committed Feb 9, 2024
1 parent 4e336d7 commit beff82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/leaderboard
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ end
puts "Found #{pulls.size} pull requests."

reviews = Spinner.start do
pulls.flat_map.with_index do |pull, index|
Whirly.status = "Fetching reviews... (#{index + 1}/#{pulls.size})"
pulls.first(50).flat_map.with_index do |pull, index|
Spinner.status = "Fetching reviews... (#{index + 1}/#{pulls.size})"

Reviews.for(pull:)
end
Expand Down

0 comments on commit beff82a

Please sign in to comment.