Skip to content

Commit

Permalink
Update src/dev/chromium_version.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Dokolin <[email protected]>
  • Loading branch information
tsullivan and dokmic authored Apr 30, 2021
1 parent 222cb22 commit 571b1bd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/dev/chromium_version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ async function getPuppeteerRelease(log: ToolingLog): Promise<PuppeteerRelease> {
'Could not get the Puppeteer version! Check node_modules/puppteer/package.json'
);
}
let puppeteerRelease = forkCompatibilityMap[version];
if (puppeteerRelease == null) {
puppeteerRelease = version;
}
const puppeteerRelease = forkCompatibilityMap[version] ?? version;

log.info(`Kibana is using Puppeteer ${version} (${puppeteerRelease})`);
return puppeteerRelease;
Expand Down

0 comments on commit 571b1bd

Please sign in to comment.