Fix code style.

This commit is contained in:
Markus Reiter 2024-07-15 21:17:45 -04:00
parent 0cafa83f8a
commit 0b50f0651e
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -264,11 +264,11 @@ module Homebrew
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