From 2245d7d6ed0630ee1ad985dcbd48354772924750 Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Tue, 25 Oct 2022 11:02:40 +0200 Subject: [PATCH] fix: skip browser download (#9160) Fixed: https://github.com/puppeteer/puppeteer/issues/9158 --- packages/puppeteer/src/node/install.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/puppeteer/src/node/install.ts b/packages/puppeteer/src/node/install.ts index 6fa27c79..76c9414d 100644 --- a/packages/puppeteer/src/node/install.ts +++ b/packages/puppeteer/src/node/install.ts @@ -39,6 +39,7 @@ export async function downloadBrowser(): Promise { const configuration = getConfiguration(); if (configuration.skipDownload) { logPolitely('**INFO** Skipping browser download as instructed.'); + return; } const product = configuration.defaultProduct!;