From 4cf42f7c1825d7a6df7ec6cae9f9c48267ab8556 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Wed, 17 Apr 2024 07:37:02 +0800 Subject: [PATCH] pr-pull: simplify --- Library/Homebrew/dev-cmd/pr-pull.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/pr-pull.rb b/Library/Homebrew/dev-cmd/pr-pull.rb index 5f1cafa3cadab..c08badc32fce1 100644 --- a/Library/Homebrew/dev-cmd/pr-pull.rb +++ b/Library/Homebrew/dev-cmd/pr-pull.rb @@ -157,9 +157,7 @@ def run 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?