Skip to content

Commit

Permalink
cherry-pick(#19759): fix(driver): avoid polluting stdout (#19784)
Browse files Browse the repository at this point in the history
  • Loading branch information
rwoll authored Jan 2, 2023
1 parent cc00c20 commit 6eec55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playwright-core/src/server/registry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6eec55c

Please sign in to comment.