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
|
||||
@tap_git_head ||= tap&.git_head
|
||||
rescue TapUnavailableError
|
||||
nil
|
||||
end
|
||||
|
||||
def populate_from_api!(json_cask)
|
||||
|
||||
@ -2232,6 +2232,8 @@ class Formula
|
||||
|
||||
def tap_git_head
|
||||
tap&.git_head
|
||||
rescue TapUnavailableError
|
||||
nil
|
||||
end
|
||||
|
||||
delegate env: :"self.class"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user