Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

chore: remove bun env var detect (#7534)

Shijie Raoc3e4f920b4e9
diff --git a/codex-cli/bin/codex.js b/codex-cli/bin/codex.js
index 805be85af8..138796e5d6 100644
--- a/codex-cli/bin/codex.js
+++ b/codex-cli/bin/codex.js
@@ -95,14 +95,6 @@ function detectPackageManager() {
return "bun";
}
- if (
- process.env.BUN_INSTALL ||
- process.env.BUN_INSTALL_GLOBAL_DIR ||
- process.env.BUN_INSTALL_BIN_DIR
- ) {
- return "bun";
- }
-
return userAgent ? "npm" : null;
}