mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-13 07:35:33 +03:00
fix: do not spam console when building playwright packages (#5436)
This commit is contained in:
parent
f2a31ad8c5
commit
2dfe1c75e1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user