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