fix: skip browser download (#9160)
Fixed: https://github.com/puppeteer/puppeteer/issues/9158
This commit is contained in:
parent
088c18c842
commit
2245d7d6ed
@ -39,6 +39,7 @@ export async function downloadBrowser(): Promise<void> {
|
|||||||
const configuration = getConfiguration();
|
const configuration = getConfiguration();
|
||||||
if (configuration.skipDownload) {
|
if (configuration.skipDownload) {
|
||||||
logPolitely('**INFO** Skipping browser download as instructed.');
|
logPolitely('**INFO** Skipping browser download as instructed.');
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const product = configuration.defaultProduct!;
|
const product = configuration.defaultProduct!;
|
||||||
|
Loading…
Reference in New Issue
Block a user