Sfoglia il codice sorgente

fix issue with flags being parsed incorrectly

Dax Raad 5 mesi fa
parent
commit
bcd656ffae
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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"],