فهرست منبع

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