From fde13803e9923c8527126f25390c72d770f4e3ee Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Thu, 22 Feb 2024 18:57:31 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20escape=20spaces=20in=20esbuild?= =?UTF-8?q?=20binary=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/config/load.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/config/load.ts b/core/config/load.ts index d475707c0..023b7d852 100644 --- a/core/config/load.ts +++ b/core/config/load.ts @@ -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(