mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 11:59:00 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
committed by
Claude Bot
parent
1195fa0ee6
commit
8730239acb
@@ -202,7 +202,7 @@ function styleText(format, text) {
|
||||
let left = "";
|
||||
let right = "";
|
||||
for (const key of format) {
|
||||
if (key === 'none') continue;
|
||||
if (key === "none") continue;
|
||||
const formatCodes = inspect.colors[key];
|
||||
if (formatCodes == null) {
|
||||
validateOneOf(key, "format", ObjectKeys(inspect.colors));
|
||||
@@ -214,7 +214,7 @@ function styleText(format, text) {
|
||||
return `${left}${text}${right}`;
|
||||
}
|
||||
|
||||
if (format === 'none') {
|
||||
if (format === "none") {
|
||||
return text;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user