From d9780bd260f43d460066a2e2f823b05d943093d7 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Mon, 28 Mar 2022 14:59:32 -0400 Subject: [PATCH] diagnostic: skip linuxbrew-core tap check when installing from API --- Library/Homebrew/extend/os/linux/diagnostic.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/extend/os/linux/diagnostic.rb b/Library/Homebrew/extend/os/linux/diagnostic.rb index b85cf756f4..35eb83ff10 100644 --- a/Library/Homebrew/extend/os/linux/diagnostic.rb +++ b/Library/Homebrew/extend/os/linux/diagnostic.rb @@ -121,6 +121,7 @@ module Homebrew end def check_linuxbrew_core + return if Homebrew::EnvConfig.install_from_api? return unless CoreTap.instance.linuxbrew_core? <<~EOS