mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
19 lines
441 B
JavaScript
19 lines
441 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2022 Google Inc.
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
const {
|
|
versionsPerRelease,
|
|
lastMaintainedChromeVersion,
|
|
} = require('../versions.js');
|
|
|
|
const version = versionsPerRelease.get(lastMaintainedChromeVersion);
|
|
if (version.toLowerCase() === 'next') {
|
|
console.error('Unexpected NEXT Puppeteer version in versions.js');
|
|
process.exit(1);
|
|
}
|
|
console.log(`< ${version.substring(1)}`);
|
|
process.exit(0);
|