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. ```
This commit is contained in:
parent
fc5265ae5c
commit
0682239298
@ -253,6 +253,7 @@ module Homebrew
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
opoo e
|
||||||
ohai "Searching for similarly named formulae..."
|
ohai "Searching for similarly named formulae..."
|
||||||
formulae_search_results = search_formulae(e.name)
|
formulae_search_results = search_formulae(e.name)
|
||||||
case formulae_search_results.length
|
case formulae_search_results.length
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user