Skip to content
Snippets Groups Projects
Commit a9b38053 authored by Alexis Hildebrandt's avatar Alexis Hildebrandt Committed by Baptiste Fontaine
Browse files

brew-deps: improved --tree formatting


Use proper BOX DRAWINGS LIGHT VERTICAL unicode character.

Closes Homebrew/homebrew#46158.

Signed-off-by: default avatarBaptiste Fontaine <batifon@yahoo.fr>
parent 6f5307fb
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@ module Homebrew
max = deps.length - 1
deps.each_with_index do |dep, i|
chr = i == max ? "└──" : "├──"
prefix_ext = i == max ? " " : "| "
prefix_ext = i == max ? " " : " "
puts prefix + "#{chr} #{dep.name}"
recursive_deps_tree(Formulary.factory(dep.name), prefix + prefix_ext)
end
......
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