Skip to content

Commit b2e8f40

Browse files
bteatargos
authored andcommitted
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>
1 parent 377bdb9 commit b2e8f40

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
@@ -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

Comments
 (0)