Procházet zdrojové kódy

disable reading .env file automatically

Dax Raad před 1 rokem
rodič
revize
ff1f4d6bf9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: {
     compile: {
       target: `bun-${os}-${arch}` as any,
       target: `bun-${os}-${arch}` as any,
       outfile: `dist/${name}/bin/opencode`,
       outfile: `dist/${name}/bin/opencode`,
-      execArgv: [`--user-agent=opencode/${version}`, `--`],
+      execArgv: [`--user-agent=opencode/${version}`, `--env-file=""`, `--`],
       windows: {},
       windows: {},
     },
     },
     entrypoints: ["./src/index.ts"],
     entrypoints: ["./src/index.ts"],