Skip to content

Commit

Permalink
Fix code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Jul 16, 2024
1 parent f74113f commit b115219
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Library/Homebrew/cmd/fetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ def run

until remaining_downloads.empty?
begin

finished_states = [:fulfilled, :rejected]


finished_downloads, remaining_downloads = remaining_downloads.partition { |_,promise| finished_states.include?(promise.state) }
finished_downloads, remaining_downloads = remaining_downloads.partition do |_, promise|
finished_states.include?(promise.state)
end

finished_downloads.each do |downloadable, promise|
previous_pending_line_count -= 1
Expand Down

0 comments on commit b115219

Please sign in to comment.