summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-11 15:00:43 +0200
committerGitHub <noreply@github.com>2021-10-11 15:00:43 +0200
commit2bf3ee4290ad71564b82e73e0b7a53fe0f405913 (patch)
tree35cf3b56cc0644f962ec2a58832a91499416bfe0
parent:bug: fix typing (diff)
parentnpm run build on Windows with usernames containing space fails, fixed by wrap... (diff)
downloadserver-2bf3ee4290ad71564b82e73e0b7a53fe0f405913.tar.xz
Merge pull request #438 from Mr2u/dev
npm run build fails if Windows username contains space
-rw-r--r--bundle/scripts/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundle/scripts/build.js b/bundle/scripts/build.js

index 05cf37ce..d7bd23d9 100644 --- a/bundle/scripts/build.js +++ b/bundle/scripts/build.js
@@ -56,7 +56,7 @@ function transpileFiles() { function util() { // const child = spawn("node", `${swcBin} src --out-dir dist --sync`.split(" "), { - const child = spawn("node", `${tscBin} -b .`.split(" "), { + const child = spawn("node", `\"${tscBin}\" -b .`.split(" "), { cwd: path.join(__dirname, "..", "..", "util"), env: process.env, shell: true,