mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
pr-pull: simplify
This commit is contained in:
parent
9ad60fe437
commit
4cf42f7c18
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user