Skip to content

Commit ed5b4dd

Browse files
add tree branch indicator
1 parent 4f01420 commit ed5b4dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

base/loading.jl

+4-1
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,10 @@ function _require_search_from_serialized(pkg::PkgId, sourcepath::String, depth::
860860
else
861861
if LOAD_TIMING[Threads.threadid()]
862862
elapsed = round((time_ns() - t_before) / 1e6, digits = 1)
863-
println("""$(lpad(elapsed, 9)) ms $(" "^(depth*2))$(pkg.name)""")
863+
tree_prefix = depth == 0 ? "" : "$(" "^(depth-1))"
864+
print("$(lpad(elapsed, 9)) ms ")
865+
printstyled(tree_prefix, color = :light_black)
866+
println(pkg.name)
864867
end
865868
return restored
866869
end

0 commit comments

Comments
 (0)