fix(codex): use actual CODEX_HOME in auth detail message
Show the configured CODEX_HOME path instead of hardcoded ~/.codex when the email fallback message is displayed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
58c511af9a
commit
0ce4134ce1
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ export async function testEnvironment(
|
|||
code: "codex_native_auth_present",
|
||||
level: "info",
|
||||
message: "Codex is authenticated via its own auth configuration.",
|
||||
detail: codexAuth.email ? `Logged in as ${codexAuth.email}.` : "Credentials found in ~/.codex/auth.json.",
|
||||
detail: codexAuth.email ? `Logged in as ${codexAuth.email}.` : `Credentials found in ${codexHome ?? "~/.codex"}/auth.json.`,
|
||||
});
|
||||
} else {
|
||||
checks.push({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue