forked from farhoodlabs/paperclip
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:
@@ -116,7 +116,7 @@ export async function testEnvironment(
|
|||||||
code: "codex_native_auth_present",
|
code: "codex_native_auth_present",
|
||||||
level: "info",
|
level: "info",
|
||||||
message: "Codex is authenticated via its own auth configuration.",
|
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 {
|
} else {
|
||||||
checks.push({
|
checks.push({
|
||||||
|
|||||||
Reference in New Issue
Block a user