diff --git a/src/js/node/util.ts b/src/js/node/util.ts index a6f99298b1..87243d05bc 100644 --- a/src/js/node/util.ts +++ b/src/js/node/util.ts @@ -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; }