Skip to content

Commit

Permalink
Merge pull request #19 from rostacik/main
Browse files Browse the repository at this point in the history
different way to get chromium revision from puppeteer package
  • Loading branch information
bmblb authored Mar 11, 2024
2 parents fa35180 + a059e7a commit bb83295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion downloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Downloader {
* @return {string}
*/
static defaultRevision() {
return require(path.join(PROJECT_ROOT, 'package.json')).puppeteer.chromium_revision;
return require('puppeteer/lib/cjs/puppeteer/revisions.js').PUPPETEER_REVISIONS.chromium;
}

/**
Expand Down

0 comments on commit bb83295

Please sign in to comment.