diff --git a/Library/Homebrew/cmd/deps.rb b/Library/Homebrew/cmd/deps.rb index a9f0ac3cd5..ac1fe93f38 100644 --- a/Library/Homebrew/cmd/deps.rb +++ b/Library/Homebrew/cmd/deps.rb @@ -234,7 +234,7 @@ module Homebrew attributes << "color = green" end comment = " # #{dep.tags.map(&:inspect).join(", ")}" if dep.tags.any? - " \"#{d}\" -> \"#{dep}\"#{" [#{attributes.join(", ")}]" if attributes.any?}#{comment}" + " \"#{d.name}\" -> \"#{dep}\"#{" [#{attributes.join(", ")}]" if attributes.any?}#{comment}" end end.flatten.join("\n") "digraph {\n#{dot_code}\n}"