Skip to content

Commit

Permalink
Fix code style.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus authored Sep 5, 2024
1 parent 60cb810 commit 69a04bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Library/Homebrew/cmd/fetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,10 @@ def downloads
end

def fetch_downloadable(downloadable)
tries = args.retry? ? {} : { tries: 1 }
downloads[downloadable] ||= download_queue.enqueue(RetryableDownload.new(downloadable, **tries), force: args.force?)
downloads[downloadable] ||= begin
tries = args.retry? ? {} : { tries: 1 }
download_queue.enqueue(RetryableDownload.new(downloadable, **tries), force: args.force?)
end
end
end
end
Expand Down

0 comments on commit 69a04bd

Please sign in to comment.