fix: skip browser download (#9160)

Fixed: https://github.com/puppeteer/puppeteer/issues/9158
This commit is contained in:
jrandolf 2022-10-25 11:02:40 +02:00 committed by GitHub
parent 088c18c842
commit 2245d7d6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!;