Merge pull request #438 from Mr2u/dev

npm run build fails if Windows username contains space
This commit is contained in:
Flam3rboy
2021-10-11 15:00:43 +02:00
committed by GitHub
+1 -1
View File
@@ -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,