소스 검색

fix issue with flags being parsed incorrectly

Dax Raad 5 달 전
부모
커밋
bcd656ffae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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"],