mirror of
https://github.com/microsoft/playwright.git
synced 2025-01-05 10:15:12 +03:00
parent
d16d72c354
commit
595f2296a6
@ -73,7 +73,7 @@ Example:
|
|||||||
if (descriptor.installByDefault) {
|
if (descriptor.installByDefault) {
|
||||||
// 3. Download new browser.
|
// 3. Download new browser.
|
||||||
console.log('\nDownloading new browser...');
|
console.log('\nDownloading new browser...');
|
||||||
const registry = new Registry(ROOT_PATH);
|
const registry = new Registry(browsersJSON);
|
||||||
await registry.install();
|
await registry.install();
|
||||||
|
|
||||||
// 4. Generate types.
|
// 4. Generate types.
|
||||||
@ -89,4 +89,8 @@ Example:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(`\nRolled ${browserName} to ${revision}`);
|
console.log(`\nRolled ${browserName} to ${revision}`);
|
||||||
})();
|
})().catch(err => {
|
||||||
|
console.error(err);
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user