From 0f546b0b3d93e238685a1a5bbd0f624cc62ec9a8 Mon Sep 17 00:00:00 2001 From: hyuraku <32809703+hyuraku@users.noreply.github.com> Date: Sat, 19 Mar 2022 16:21:01 +0900 Subject: [PATCH] cmd/deps: repair dot_code --- Library/Homebrew/cmd/deps.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"