mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
util: remove unnecessary template strings
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user