Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix: do not spam console when building playwright packages (#5436)

Andrey Lushnikov2dfe1c75e1b7
diff --git a/packages/build_package.js b/packages/build_package.js
index d25b4e9f78..5923e12179 100755
--- a/packages/build_package.js
+++ b/packages/build_package.js
@@ -187,12 +187,10 @@ if (!args.some(arg => arg === '--no-cleanup')) {
async function writeToPackage(fileName, content) {
const toPath = path.join(packagePath, fileName);
- console.error(`- generating: //${path.relative(ROOT_PATH, toPath)}`);
await writeFileAsync(toPath, content);
}
async function copyToPackage(fromPath, toPath) {
- console.error(`- copying: //${path.relative(ROOT_PATH, fromPath)} -> //${path.relative(ROOT_PATH, toPath)}`);
try {
fs.mkdirSync(path.dirname(toPath), { recursive: true });
} catch (e) {