diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2020-07-23 17:41:30 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-07-23 17:41:30 +0300 |
commit | 58772965200d1dbaefe4f3211a6d3e8ff5ef8de9 (patch) | |
tree | 92401c157e6b9891d48c4445f4dea11a3a17e628 /lib | |
parent | c891dff3231a06c3fb1d521160e6d700349a584c (diff) |
fix: archy output dedupe label color
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ls.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -123,7 +123,11 @@ const getHumanOutputItem = (node, { args, color, global, long }) => { : '' ) + `${highlightDepName ? chalk.yellow.bgBlack(printable) : printable}` + - (node[_dedupe] ? ' deduped' : '') + + ( + node[_dedupe] + ? (color ? chalk.gray(' deduped') : ' deduped') + : '' + ) + ( node[_invalid] ? (color ? chalk.red.bgBlack(' invalid') : ' invalid') |