mirror of
https://github.com/openai/codex.git
synced 2026-04-30 03:12:20 +03:00
chore: remove bun env var detect (#7534)
### Summary [Thread](https://openai.slack.com/archives/C08JZTV654K/p1764780129457519) We were a bit aggressive on assuming package installer based on env variables for BUN. Here we are removing those checks.
This commit is contained in:
@@ -95,14 +95,6 @@ function detectPackageManager() {
|
|||||||
return "bun";
|
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;
|
return userAgent ? "npm" : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user