aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/info.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/info.rb')
-rw-r--r--Library/Homebrew/cmd/info.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb
index 2d5e34ce2..5c96e5c50 100644
--- a/Library/Homebrew/cmd/info.rb
+++ b/Library/Homebrew/cmd/info.rb
@@ -16,7 +16,7 @@
#: See the docs for examples of using the JSON output:
#: <http://docs.brew.sh/Querying-Brew.html>
-require "blacklist"
+require "missing_formula"
require "caveats"
require "options"
require "formula"
@@ -56,9 +56,9 @@ module Homebrew
info_formula Formulary.find_with_priority(f)
end
rescue FormulaUnavailableError => e
- # No formula with this name, try a blacklist lookup
- if (blacklist = blacklisted?(f))
- ofail "#{e.message}\n#{blacklist}"
+ # No formula with this name, try a missing formula lookup
+ if (missing_formula = Homebrew::MissingFormula.missing_formula(f))
+ ofail "#{e.message}\n#{missing_formula}"
else
ofail e.message