mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore: throw if protocol can't get generated when rolling (#33607)
This commit is contained in:
parent
445ff73c6e
commit
b8f824ca6b
@ -109,7 +109,7 @@ Example:
|
||||
// 5. Generate types.
|
||||
console.log('\nGenerating protocol types...');
|
||||
const executablePath = registry.findExecutable(browserName).executablePathOrDie();
|
||||
await protocolGenerator.generateProtocol(browserName, executablePath).catch(console.warn);
|
||||
await protocolGenerator.generateProtocol(browserName, executablePath);
|
||||
|
||||
// 6. Update docs.
|
||||
console.log('\nUpdating documentation...');
|
||||
|
Loading…
x
Reference in New Issue
Block a user