mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Fix tree display.
This commit is contained in:
parent
c91f372b4b
commit
caed6f9109
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ class ResolveDependency @Inject constructor(
|
|||
else leftMiddle
|
||||
val indent = level * increment
|
||||
for(i in 0..indent - 2) {
|
||||
if (i % increment == 0) print(vertical)
|
||||
if (i == 0 || ((i + 1) % increment == 0)) print(vertical)
|
||||
else print(" ")
|
||||
}
|
||||
println(left + " " + dep.id + (if (dep.optional) " (optional)" else ""))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue