diff --git a/lib/util.js b/lib/util.js index 0884a8d518602d..32c95b12543335 100644 --- a/lib/util.js +++ b/lib/util.js @@ -181,7 +181,7 @@ function styleText(format, text, { validateStream = true, stream = process.stdou // Dim and bold are not mutually exclusive, so we need to reapply return `${match}${escapeStyleCode(code[0])}`; } - return `${escapeStyleCode(code[0])}`; + return escapeStyleCode(code[0]); } return match; },