From 06ba9632a4c63859244068d32c312817d90daf63 Mon Sep 17 00:00:00 2001 From: Alex Rudenko Date: Fri, 28 Jan 2022 13:01:12 +0100 Subject: [PATCH] fix: issue with reading versions.js in doclint (#7940) Partially reverts https://github.com/puppeteer/puppeteer/pull/7927 where the regression happened. --- utils/doclint/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/doclint/cli.js b/utils/doclint/cli.js index 9d0df795..e2de3a81 100755 --- a/utils/doclint/cli.js +++ b/utils/doclint/cli.js @@ -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(