Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
reference error on invalid packages
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Mar 30, 2012
1 parent 877c2d2 commit 3cb19c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ls.js
Expand Up @@ -181,7 +181,7 @@ function makeArchy_ (data, long, dir, depth, parent, d) {
if (data.link) out.label += "-> " + data.link if (data.link) out.label += "-> " + data.link


if (data.invalid) { if (data.invalid) {
if (data.realName !== data.name) l += " ("+data.realName+")" if (data.realName !== data.name) out.label += " ("+data.realName+")"
out.label += " \033[31;40minvalid\033[0m" out.label += " \033[31;40minvalid\033[0m"
} }


Expand Down

0 comments on commit 3cb19c8

Please sign in to comment.