Fix brew install with tap regex

This commit is contained in:
Rylan Polster 2021-10-27 01:42:08 -04:00
parent dd1a36052c
commit 7bb69e0b4c
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -138,6 +138,7 @@ module Homebrew
end
args.named.each do |name|
next if EnvConfig.install_from_api?
next if File.exist?(name)
next if name !~ HOMEBREW_TAP_FORMULA_REGEX && name !~ HOMEBREW_CASK_TAP_CASK_REGEX