fix: bump @puppeteer/browsers (#9938)

This commit is contained in:
Alex Rudenko 2023-03-29 12:37:49 +02:00 committed by GitHub
parent dcd8818399
commit 2a29d30d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ export class Cache {
browserRoot(browser: Browser): string { browserRoot(browser: Browser): string {
// Chromium is a special case for backward compatibility: we install it in // Chromium is a special case for backward compatibility: we install it in
// the Chrome folder. // the Chrome folder so that Puppeteer can find it.
return path.join( return path.join(
this.#rootDir, this.#rootDir,
browser === Browser.CHROMIUM ? Browser.CHROME : browser browser === Browser.CHROMIUM ? Browser.CHROME : browser