diagnostic: skip linuxbrew-core tap check when installing from API

This commit is contained in:
Caleb Xu 2022-03-28 14:59:32 -04:00
parent 5f5af43244
commit d9780bd260
No known key found for this signature in database
GPG Key ID: 2F67B6BC86DC4F00

View File

@ -121,6 +121,7 @@ module Homebrew
end end
def check_linuxbrew_core def check_linuxbrew_core
return if Homebrew::EnvConfig.install_from_api?
return unless CoreTap.instance.linuxbrew_core? return unless CoreTap.instance.linuxbrew_core?
<<~EOS <<~EOS