Merge pull request #17763 from Homebrew/fix-tap-git-head
This commit is contained in:
commit
86bf1eacdb
@ -323,6 +323,8 @@ module Cask
|
|||||||
|
|
||||||
def tap_git_head
|
def tap_git_head
|
||||||
@tap_git_head ||= tap&.git_head
|
@tap_git_head ||= tap&.git_head
|
||||||
|
rescue TapUnavailableError
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def populate_from_api!(json_cask)
|
def populate_from_api!(json_cask)
|
||||||
|
|||||||
@ -2232,6 +2232,8 @@ class Formula
|
|||||||
|
|
||||||
def tap_git_head
|
def tap_git_head
|
||||||
tap&.git_head
|
tap&.git_head
|
||||||
|
rescue TapUnavailableError
|
||||||
|
nil
|
||||||
end
|
end
|
||||||
|
|
||||||
delegate env: :"self.class"
|
delegate env: :"self.class"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user