Skip to content

Commit

Permalink
Avoid XXX for these style names, none seems more descriptive. This sh…
Browse files Browse the repository at this point in the history
…ould have no functional effect.
  • Loading branch information
trentm committed Apr 5, 2017
1 parent 58846af commit a75df96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/bunyan
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a75df96

Please sign in to comment.