Skip to content

Commit

Permalink
pr-pull: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhongRuoyu committed Apr 16, 2024
1 parent 9ad60fe commit 4cf42f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Library/Homebrew/dev-cmd/pr-pull.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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) }

Check warning on line 160 in Library/Homebrew/dev-cmd/pr-pull.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/dev-cmd/pr-pull.rb#L159-L160

Added lines #L159 - L160 were not covered by tests
end

next if args.no_upload?
Expand Down

0 comments on commit 4cf42f7

Please sign in to comment.