fix: issue with reading versions.js in doclint (#7940)

Partially reverts https://github.com/puppeteer/puppeteer/pull/7927
where the regression happened.
This commit is contained in:
Alex Rudenko 2022-01-28 13:01:12 +01:00 committed by GitHub
parent 43aa98620e
commit 06ba9632a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ async function run() {
let changedFiles = false;
if (IS_RELEASE) {
const { versionsPerRelease: versions } = await Source.readFile(
const versions = await Source.readFile(
path.join(PROJECT_DIR, 'versions.js')
);
versions.setText(