fix(cli): omit undefined compile executable path

This commit is contained in:
Simon Klee
2026-08-16 08:03:11 +02:00
Unverified
parent 01b7b53eeb
commit 0d7fe6e074
+1 -1
View File
@@ -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: {},