mirror of
https://github.com/openai/codex.git
synced 2026-05-03 21:01:55 +03:00
Validate CODEX_HOME before resolving (#10249)
Summary - require `CODEX_HOME` to point to an existing directory before canonicalizing and surface clear errors otherwise - share the same helper logic in both `core` and `rmcp-client` and add unit tests that cover missing, non-directory, valid, and default paths This addresses #9222
This commit is contained in:
6
codex-rs/utils/home-dir/BUILD.bazel
Normal file
6
codex-rs/utils/home-dir/BUILD.bazel
Normal file
@@ -0,0 +1,6 @@
|
||||
load("//:defs.bzl", "codex_rust_crate")
|
||||
|
||||
codex_rust_crate(
|
||||
name = "home-dir",
|
||||
crate_name = "codex_utils_home_dir",
|
||||
)
|
||||
Reference in New Issue
Block a user