From 0afc41ceefcf2b69443287f12a45bb7d2c2c35e3 Mon Sep 17 00:00:00 2001 From: Kevin Date: Tue, 13 Dec 2022 20:31:33 -0800 Subject: [PATCH] Explain edge case in install/cmd Co-authored-by: Mike McQuaid --- Library/Homebrew/cmd/install.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index 28b2bd7d78..227bedacd0 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -295,6 +295,8 @@ module Homebrew return end + # We don't seem to get good search results when the tap is specified + # so we might as well return early. return if name.include?("/") ohai "Searching for similarly named formulae and casks..."