Pass headers directly instead of hash containing :headers.

This commit is contained in:
Markus Reiter 2020-12-18 18:31:07 +01:00 committed by Sam Ford
parent 8fa5a8e832
commit 1a18742366
No known key found for this signature in database
GPG Key ID: 95209E46C7FFDEFE

View File

@ -55,7 +55,7 @@ module Homebrew
end end
version = if block version = if block
block.call(data) block.call(data[:headers])
else else
data[:version] data[:version]
end end