🐛 escape spaces in esbuild binary path

This commit is contained in:
Nate Sesti 2024-02-22 18:57:31 -08:00
parent e195ad713b
commit fde13803e9

View file

@ -365,7 +365,7 @@ async function buildConfigTs() {
try {
if (process.env.IS_BINARY === "true") {
execSync(
path.dirname(process.execPath) +
escapeSpacesInPath(path.dirname(process.execPath)) +
`/esbuild${
getTarget().startsWith("win32") ? ".exe" : ""
} ${escapeSpacesInPath(