fix issue with flags being parsed incorrectly

This commit is contained in:
Dax Raad
2025-09-10 11:34:39 -04:00
parent 0e0c5a9b68
commit bcd656ffae

View File

@@ -42,7 +42,7 @@ for (const [os, arch] of targets) {
compile: {
target: `bun-${os}-${arch}` as any,
outfile: `dist/${name}/bin/opencode`,
execArgv: [`--user-agent=opencode/${version}`],
execArgv: [`--user-agent=opencode/${version}`, `--`],
windows: {},
},
entrypoints: ["./src/index.ts"],