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:
parent
43aa98620e
commit
06ba9632a4
@ -38,7 +38,7 @@ async function run() {
|
|||||||
let changedFiles = false;
|
let changedFiles = false;
|
||||||
|
|
||||||
if (IS_RELEASE) {
|
if (IS_RELEASE) {
|
||||||
const { versionsPerRelease: versions } = await Source.readFile(
|
const versions = await Source.readFile(
|
||||||
path.join(PROJECT_DIR, 'versions.js')
|
path.join(PROJECT_DIR, 'versions.js')
|
||||||
);
|
);
|
||||||
versions.setText(
|
versions.setText(
|
||||||
|
Loading…
Reference in New Issue
Block a user