summary refs log tree commit diff
diff options
context:
space:
mode:
authorMaddy <ty.carlier@gmail.com>2021-10-12 16:14:37 +1100
committerMaddy <ty.carlier@gmail.com>2021-10-12 16:14:37 +1100
commitf749aea51a4544166d7e8b91a0931a96f9e304a0 (patch)
tree07f3bd4530129021e47e23b75d6c873c633c80cf
parentMerge pull request #430 from Thesourtimes/master (diff)
downloadserver-f749aea51a4544166d7e8b91a0931a96f9e304a0.tar.xz
npm run build on Windows with usernames containing spaces fails, fixed by escaping tsc.js location in node_modules
-rw-r--r--bundle/scripts/build.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundle/scripts/build.js b/bundle/scripts/build.js

index a9798eff..e8eb24b8 100644 --- a/bundle/scripts/build.js +++ b/bundle/scripts/build.js
@@ -34,9 +34,9 @@ console.log("Compiling src files ..."); console.log( execSync( - "node " + + "node \"" + path.join(__dirname, "..", "node_modules", "typescript", "lib", "tsc.js") + - " -p " + + "\" -p " + path.join(__dirname, ".."), { cwd: path.join(__dirname, ".."),