Skip to content

Commit

Permalink
npm logs aren't colorful enough.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Oct 16, 2010
1 parent bccb678 commit e07e2a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils/log.js
Expand Up @@ -108,7 +108,7 @@ function log (msg, pref, level, cb) {
msg = [msg, (new Error).stack.split(/\n/).slice(2)]
}
if (typeof msg !== "string" && !(msg instanceof Error)) {
msg = sys.inspect(msg, 0, 4)
msg = sys.inspect(msg, 0, 4, true)
}
if (msg instanceof Error) {
msg = msg.stack || msg.toString()
Expand Down

0 comments on commit e07e2a3

Please sign in to comment.