From 06822392980e3ffa9a247a15b031b5386e4a72af Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 12 Jul 2021 12:07:10 +0100 Subject: [PATCH] cmd/install: output missing formula name. Otherwise if there's no search results then there's no indication what was being searched for: ``` ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching taps on GitHub... Error: No formulae found in taps. ``` --- Library/Homebrew/cmd/install.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index f10795f30f..4067b981ae 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -253,6 +253,7 @@ module Homebrew return end + opoo e ohai "Searching for similarly named formulae..." formulae_search_results = search_formulae(e.name) case formulae_search_results.length