瀏覽代碼

fix: TUI spawn: reset BUN_OPTIONS (#3606)

Haris Gušić 5 月之前
父節點
當前提交
ca5126e24d
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      packages/opencode/src/cli/cmd/tui/spawn.ts

+ 4 - 0
packages/opencode/src/cli/cmd/tui/spawn.ts

@@ -48,6 +48,10 @@ export const TuiSpawnCommand = cmd({
       stdout: "inherit",
       stdout: "inherit",
       stderr: "inherit",
       stderr: "inherit",
       stdin: "inherit",
       stdin: "inherit",
+      env: {
+        ...process.env,
+        BUN_OPTIONS: "",
+      }
     })
     })
     await proc.exited
     await proc.exited
     await Instance.disposeAll()
     await Instance.disposeAll()