pr-pull: simplify

This commit is contained in:
Ruoyu Zhong 2024-04-17 07:37:02 +08:00
parent 9ad60fe437
commit 4cf42f7c18
No known key found for this signature in database

View File

@ -157,9 +157,7 @@ module Homebrew
ohai "Downloading bottles for workflow: #{workflow}"
urls = GitHub.get_artifact_urls(workflow_run)
urls.each do |url|
GitHub.download_artifact(url, pr)
end
urls.each { |url| GitHub.download_artifact(url, pr) }
end
next if args.no_upload?