summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-12 13:29:14 -0400
committerDax Raad <[email protected]>2025-06-12 13:29:14 -0400
commitdda7059e575c2fb137e9269f453eeff103d49e41 (patch)
tree8edc07bb67d1ceb539e46e76c26e663fa7744990
parent0cca75ef48660e67e51eeeb044a1c70c0d5cc9f5 (diff)
downloadopencode-dda7059e575c2fb137e9269f453eeff103d49e41.tar.gz
opencode-dda7059e575c2fb137e9269f453eeff103d49e41.zip
update bun integration
🤖 Generated with [OpenCode](https://opencode.ai) Co-Authored-By: OpenCode <[email protected]>
-rw-r--r--packages/opencode/src/bun/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/opencode/src/bun/index.ts b/packages/opencode/src/bun/index.ts
index 2819607de..e74cb5bd0 100644
--- a/packages/opencode/src/bun/index.ts
+++ b/packages/opencode/src/bun/index.ts
@@ -29,7 +29,7 @@ export namespace BunProc {
export function which() {
return process.argv0 !== "bun"
- ? path.resolve(process.cwd(), process.argv0)
+ ? path.resolve(process.cwd(), process.argv[0])
: "bun"
}
}