Permalink
Browse files

ls: Space between top-level name and folder

  • Loading branch information...
1 parent 389fa52 commit 42333d3413e10f28a04a128868317e6ce279e996 @isaacs isaacs committed Sep 8, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/ls.js
View
1 lib/ls.js
@@ -249,6 +249,7 @@ function makeArchy_ (data, long, dir, depth, parent, d) {
if (dir === data.path) out.label += "\n" + dir
out.label += "\n" + getExtras(data, dir)
} else if (dir === data.path) {
+ if (out.label) out.label += " "
out.label += dir
}

0 comments on commit 42333d3

Please sign in to comment.