info: re-raise on blacklist miss
This commit is contained in:
parent
80a73bea79
commit
9dd7672ae7
@ -35,8 +35,11 @@ module Homebrew extend self
|
||||
info_formula Formula.factory(f)
|
||||
rescue FormulaUnavailableError
|
||||
# No formula with this name, try a blacklist lookup
|
||||
blacklist = blacklisted?(f)
|
||||
puts blacklist if blacklist
|
||||
if (blacklist = blacklisted?(f))
|
||||
puts blacklist
|
||||
else
|
||||
raise
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user