Skip to content

Commit aed1b88

Browse files
btearichardlau
authored andcommitted
util: remove unnecessary template strings
PR-URL: #59201 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Zeyu "Alex" Yang <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: theanarkh <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent fdc85e5 commit aed1b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ function styleText(format, text, { validateStream = true, stream = process.stdou
298298
// Dim and bold are not mutually exclusive, so we need to reapply
299299
return `${match}${escapeStyleCode(code[0])}`;
300300
}
301-
return `${escapeStyleCode(code[0])}`;
301+
return escapeStyleCode(code[0]);
302302
}
303303
return match;
304304
},

0 commit comments

Comments
 (0)