tap: remove some CoreTap installed? checks.
We should be using the API unless specifically requested not to. Fixes #15153.
This commit is contained in:
parent
1c87b8e67a
commit
61eec0002d
@ -870,7 +870,7 @@ class CoreTap < Tap
|
|||||||
|
|
||||||
sig { returns(String) }
|
sig { returns(String) }
|
||||||
def remote
|
def remote
|
||||||
super if installed? || Homebrew::EnvConfig.no_install_from_api?
|
super if Homebrew::EnvConfig.no_install_from_api?
|
||||||
|
|
||||||
Homebrew::EnvConfig.core_git_remote
|
Homebrew::EnvConfig.core_git_remote
|
||||||
end
|
end
|
||||||
@ -988,7 +988,7 @@ class CoreTap < Tap
|
|||||||
# @private
|
# @private
|
||||||
sig { returns(T::Array[String]) }
|
sig { returns(T::Array[String]) }
|
||||||
def aliases
|
def aliases
|
||||||
return super if installed? || Homebrew::EnvConfig.no_install_from_api?
|
return super if Homebrew::EnvConfig.no_install_from_api?
|
||||||
|
|
||||||
Homebrew::API::Formula.all_aliases.keys
|
Homebrew::API::Formula.all_aliases.keys
|
||||||
end
|
end
|
||||||
@ -996,7 +996,7 @@ class CoreTap < Tap
|
|||||||
# @private
|
# @private
|
||||||
sig { returns(T::Array[String]) }
|
sig { returns(T::Array[String]) }
|
||||||
def formula_names
|
def formula_names
|
||||||
return super if installed? || Homebrew::EnvConfig.no_install_from_api?
|
return super if Homebrew::EnvConfig.no_install_from_api?
|
||||||
|
|
||||||
Homebrew::API::Formula.all_formulae.keys
|
Homebrew::API::Formula.all_formulae.keys
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user