chore: fix utils/roll_browser.js after #9078

This commit is contained in:
Max Schmitt 2021-09-24 17:09:54 +02:00
parent 6723a42544
commit 3632231cc1

View file

@ -74,7 +74,8 @@ Example:
// 3. Download new browser. // 3. Download new browser.
console.log('\nDownloading new browser...'); console.log('\nDownloading new browser...');
const registry = new Registry(browsersJSON); const registry = new Registry(browsersJSON);
await registry.install(); const executables = registry.defaultExecutables();
await registry.install(executables);
// 4. Generate types. // 4. Generate types.
console.log('\nGenerating protocol types...'); console.log('\nGenerating protocol types...');