summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/src/bun/index.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/opencode/src/bun/index.ts b/packages/opencode/src/bun/index.ts
index e74cb5bd0..34f9386c3 100644
--- a/packages/opencode/src/bun/index.ts
+++ b/packages/opencode/src/bun/index.ts
@@ -28,8 +28,6 @@ export namespace BunProc {
}
export function which() {
- return process.argv0 !== "bun"
- ? path.resolve(process.cwd(), process.argv[0])
- : "bun"
+ return process.execPath
}
}