mirror of
https://github.com/openai/codex.git
synced 2026-05-02 04:11:39 +03:00
fix: stop honoring CODEX_MANAGED_CONFIG_PATH environment variable in production (#8762)
This commit is contained in:
@@ -93,12 +93,8 @@ pub(super) async fn read_config_from_path(
|
||||
}
|
||||
}
|
||||
|
||||
/// Return the default managed config path (honoring `CODEX_MANAGED_CONFIG_PATH`).
|
||||
/// Return the default managed config path.
|
||||
pub(super) fn managed_config_default_path(codex_home: &Path) -> PathBuf {
|
||||
if let Ok(path) = std::env::var("CODEX_MANAGED_CONFIG_PATH") {
|
||||
return PathBuf::from(path);
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
{
|
||||
let _ = codex_home;
|
||||
|
||||
Reference in New Issue
Block a user