Fix brew style

This commit is contained in:
Carlo Cabrera 2022-08-02 22:53:29 +08:00
parent 8a169364a8
commit b2cf1822fa
No known key found for this signature in database
GPG Key ID: C74D447FC549A1D0

View File

@ -369,7 +369,7 @@ module Homebrew
end
def pr_check_conflicts(name, tap_remote_repo, pr)
hash_template = Proc.new { |h, k| h[k] = [] }
hash_template = proc { |h, k| h[k] = [] }
long_build_pr_files = GitHub.search_issues(
"org:#{name}", repo: tap_remote_repo, state: "open", label: "\"no long build conflict\""
).each_with_object(Hash.new(hash_template)) do |long_build_pr, hash|