Merge pull request #17763 from Homebrew/fix-tap-git-head

This commit is contained in:
Rylan Polster 2024-07-15 14:11:34 -04:00 committed by GitHub
commit 86bf1eacdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -2232,6 +2232,8 @@ class Formula
def tap_git_head
tap&.git_head
rescue TapUnavailableError
nil
end
delegate env: :"self.class"