mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-13 06:02:39 +01:00
Merge pull request #438 from Mr2u/dev
npm run build fails if Windows username contains space
This commit is contained in:
commit
a7c628d7f1
@ -56,7 +56,7 @@ function transpileFiles() {
|
|||||||
|
|
||||||
function util() {
|
function util() {
|
||||||
// const child = spawn("node", `${swcBin} src --out-dir dist --sync`.split(" "), {
|
// 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"),
|
cwd: path.join(__dirname, "..", "..", "util"),
|
||||||
env: process.env,
|
env: process.env,
|
||||||
shell: true,
|
shell: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user