Pass headers directly instead of hash containing :headers.
This commit is contained in:
parent
8fa5a8e832
commit
1a18742366
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user