blob: bac40e3677361a9c0ab901536cc674a954f5558e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/**
* @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);
|