Fix PR playground

master
Lucas Duailibe 2018-05-27 21:51:50 -03:00
parent 16a84e88d6
commit 2505926533
1 changed files with 1 additions and 1 deletions

View File

@ -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");