From 0d7fe6e074ab948cb137c749428bcdb7fe1c6d45 Mon Sep 17 00:00:00 2001 From: Simon Klee Date: Sun, 16 Aug 2026 08:03:11 +0200 Subject: [PATCH] fix(cli): omit undefined compile executable path --- packages/cli/script/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/script/build.ts b/packages/cli/script/build.ts index b70462bfb51..a29ec04f851 100755 --- a/packages/cli/script/build.ts +++ b/packages/cli/script/build.ts @@ -117,7 +117,7 @@ for (const item of targets) { autoloadTsconfig: true, autoloadPackageJson: true, target: target.replace(binary, "bun") as Bun.Build.CompileTarget, - executablePath, + ...(executablePath ? { executablePath } : {}), outfile: path.join(outdir, name, "bin", binary), execArgv: [`--user-agent=${binary}/${Script.version}`, "--use-system-ca", "--no-warnings", "--"], windows: {},