Fix code style.

This commit is contained in:
Markus Reiter 2024-09-05 18:11:49 +02:00 committed by GitHub
parent 60cb8101f5
commit 69a04bd249
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -325,8 +325,10 @@ module Homebrew
end
def fetch_downloadable(downloadable)
downloads[downloadable] ||= begin
tries = args.retry? ? {} : { tries: 1 }
downloads[downloadable] ||= download_queue.enqueue(RetryableDownload.new(downloadable, **tries), force: args.force?)
download_queue.enqueue(RetryableDownload.new(downloadable, **tries), force: args.force?)
end
end
end
end