Merge pull request #16785 from reitermarkus/tap-sig-remote

Actually return `super` in `CoreTap#remote`.
This commit is contained in:
Mike McQuaid 2024-03-01 13:46:39 +00:00 committed by GitHub
commit 6c6c418dff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1036,9 +1036,9 @@ class CoreTap < AbstractCoreTap
super
end
sig { returns(String) }
sig { returns(T.nilable(String)) }
def remote
super if Homebrew::EnvConfig.no_install_from_api?
return super if Homebrew::EnvConfig.no_install_from_api?
Homebrew::EnvConfig.core_git_remote
end