Skip to content
Snippets Groups Projects
Commit 3b30760f authored by Kevin Moore's avatar Kevin Moore Committed by Charlie Sharpsteen
Browse files

UnsatisfiedExternalDependencyError: init error


Pass message and formula to super so useful output occurs.

Closes Homebrew/homebrew#7507.

Signed-off-by: default avatarCharlie Sharpsteen <source@sharpsteen.net>
parent 627a8463
No related branches found
No related tags found
No related merge requests found
......@@ -59,12 +59,12 @@ class UnsatisfiedExternalDependencyError < Homebrew::InstallationError
def initialize formula, type
@type = type
@formula = formula
super formula, get_message(formula)
end
def message
def get_message formula
<<-EOS.undent
Unsatisfied dependency: #{formula}
Unsatisfied external dependency: #{formula}
Homebrew does not provide #{type.to_s.capitalize} dependencies, #{tool} does:
#{command_line} #{formula}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment