util: remove unnecessary template strings · nodejs/node@b2e8f40

Commit b2e8f40

bteatargos

authored and

committed

util: remove unnecessary template strings

PR-URL: #59201 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Zeyu "Alex" Yang <himself65@outlook.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: theanarkh <theratliter@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -181,7 +181,7 @@ function styleText(format, text, { validateStream = true, stream = process.stdou

181181

// Dim and bold are not mutually exclusive, so we need to reapply

182182

return `${match}${escapeStyleCode(code[0])}`;

183183

}

184-

return `${escapeStyleCode(code[0])}`;

184+

return escapeStyleCode(code[0]);

185185

}

186186

return match;

187187

},

0 commit comments