From 8730239acb894e48d657d3d4f3a84af080995220 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 23 Aug 2025 01:52:01 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/js/node/util.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }