chore: fix roll browser script which broke in #8579 (#8628)

This commit is contained in:
Max Schmitt 2021-09-01 18:17:06 +02:00 committed by GitHub
parent d16d72c354
commit 595f2296a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
});