Parcourir la source

fix issue with flags being parsed incorrectly

Dax Raad il y a 5 mois
Parent
commit
bcd656ffae
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/opencode/script/publish.ts

+ 1 - 1
packages/opencode/script/publish.ts

@@ -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"],