From 282597c1e5583d1c8682af8d947795f09efeffd5 Mon Sep 17 00:00:00 2001 From: Jimmy Gaussen Date: Fri, 11 Jan 2019 00:33:43 +0100 Subject: [PATCH] docs: fix Windows build (#5742) (#5743) --- scripts/build-docs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-docs.js b/scripts/build-docs.js index 7af48aaa..b166c258 100644 --- a/scripts/build-docs.js +++ b/scripts/build-docs.js @@ -29,8 +29,8 @@ if (isPullRequest) { shell.exec("yarn build"); pipe(JSON.stringify(pkg, null, 2)).to("package.json"); // restore } -shell.exec(`cp ${prettierPath}/standalone.js ${docs}/`); -shell.exec(`cp ${prettierPath}/parser-*.js ${docs}/`); +shell.cp(`${prettierPath}/standalone.js`, `${docs}/`); +shell.cp(`${prettierPath}/parser-*.js`, `${docs}/`); // --- Site --- shell.cd("website");