diff --git a/scripts/build-docs.js b/scripts/build-docs.js index f8a99dae..e3503b74 100644 --- a/scripts/build-docs.js +++ b/scripts/build-docs.js @@ -19,7 +19,7 @@ shell.mkdir("-p", docs); if (isPullRequest) { // --- Build prettier for PR --- - const pkg = require("../../package.json"); + const pkg = require("../package.json"); pkg.version = `999.999.999-pr.${process.env.REVIEW_ID}`; pipe(JSON.stringify(pkg, null, 2)).to("package.json"); shell.exec("node scripts/build/build.js");