From 6eaeafe00c8244cc40bc7a20000be6eeb2709c12 Mon Sep 17 00:00:00 2001 From: ComfyPRBot Date: Mon, 22 Dec 2025 20:54:24 +0000 Subject: [PATCH] fix: replace console.error with process.stderr.write to resolve eslint(no-console) errors --- scripts/cicd/extract-playwright-counts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/cicd/extract-playwright-counts.ts b/scripts/cicd/extract-playwright-counts.ts index c26dbdad1..2530a30d7 100755 --- a/scripts/cicd/extract-playwright-counts.ts +++ b/scripts/cicd/extract-playwright-counts.ts @@ -358,7 +358,7 @@ function extractTestCounts(reportDir: string): TestCounts { } } } catch (error) { - console.error(`Error reading report from ${reportDir}:`, error) + process.stderr.write(`Error reading report from ${reportDir}: ${error}\n`) } return counts @@ -368,7 +368,7 @@ function extractTestCounts(reportDir: string): TestCounts { const reportDir = process.argv[2] if (!reportDir) { - console.error('Usage: extract-playwright-counts.ts ') + process.stderr.write('Usage: extract-playwright-counts.ts \n') process.exit(1) }