Merge pull request #13010 from hyuraku/cmd/deps_repair_dot_code
`cmd/deps`: repair `dot_code`
This commit is contained in:
commit
600d84e56e
@ -234,7 +234,7 @@ module Homebrew
|
|||||||
attributes << "color = green"
|
attributes << "color = green"
|
||||||
end
|
end
|
||||||
comment = " # #{dep.tags.map(&:inspect).join(", ")}" if dep.tags.any?
|
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
|
||||||
end.flatten.join("\n")
|
end.flatten.join("\n")
|
||||||
"digraph {\n#{dot_code}\n}"
|
"digraph {\n#{dot_code}\n}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user