Actually return super in CoreTap#remote.

This commit is contained in:
Markus Reiter 2024-02-23 15:10:27 +01:00
parent f1eea64523
commit 567ea44c99
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -1032,9 +1032,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