From a75df963f64c60c813d78d096060fc762c4824e2 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Tue, 4 Apr 2017 23:27:20 -0700 Subject: [PATCH] Avoid XXX for these style names, none seems more descriptive. This should have no functional effect. --- bin/bunyan | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/bunyan b/bin/bunyan index 9c1595c..50780de 100755 --- a/bin/bunyan +++ b/bin/bunyan @@ -795,7 +795,7 @@ function emitRecord(rec, line, opts, stylize) { }; time = moTime.format(tzFormat); } - time = stylize(time, 'XXX'); + time = stylize(time, 'none'); delete rec.time; var nameStr = rec.name; @@ -1040,9 +1040,9 @@ function emitRecord(rec, line, opts, stylize) { } extras = stylize( - (extras.length ? ' (' + extras.join(', ') + ')' : ''), 'XXX'); + (extras.length ? ' (' + extras.join(', ') + ')' : ''), 'none'); details = stylize( - (details.length ? details.join('\n --\n') + '\n' : ''), 'XXX'); + (details.length ? details.join('\n --\n') + '\n' : ''), 'none'); if (!short) emit(format('%s %s: %s on %s%s:%s%s\n%s', time,