Merge pull request #13632 from carlocab/proc

pr-pull: fix typo
This commit is contained in:
Carlo Cabrera 2022-08-02 23:26:34 +08:00 committed by GitHub
commit 8a153de2bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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|