From 6eec55cffd87ce53dd6c6a07834505641bf2f0f1 Mon Sep 17 00:00:00 2001 From: Ross Wollman Date: Mon, 2 Jan 2023 08:26:26 -0500 Subject: [PATCH] cherry-pick(#19759): fix(driver): avoid polluting stdout (#19784) Relates microsoft/playwright-python#1699. --- packages/playwright-core/src/server/registry/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/playwright-core/src/server/registry/index.ts b/packages/playwright-core/src/server/registry/index.ts index 16cfa363c3834..97276a50417fe 100644 --- a/packages/playwright-core/src/server/registry/index.ts +++ b/packages/playwright-core/src/server/registry/index.ts @@ -654,7 +654,7 @@ export class Registry { private async _validateHostRequirements(sdkLanguage: string, browserName: BrowserName, browserDirectory: string, linuxLddDirectories: string[], dlOpenLibraries: string[], windowsExeAndDllDirectories: string[]) { if (getAsBooleanFromENV('PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS')) { - process.stdout.write('Skipping host requirements validation logic because `PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS` env variable is set.\n'); + process.stderr.write('Skipping host requirements validation logic because `PLAYWRIGHT_SKIP_VALIDATE_HOST_REQUIREMENTS` env variable is set.\n'); return; } const distributionInfo = await getLinuxDistributionInfo();