Update CLAUDE_CONFIG_DIR environment variable usage (#269)

According to the docs, that's the new of the env var:
https://code.claude.com/docs/en/settings#environment-variables
This commit is contained in:
José Valim
2026-02-02 15:13:28 +01:00
committed by GitHub
parent 2e9bb8e82b
commit a31f4534dd

View File

@@ -62,7 +62,8 @@ import packageJson from "../package.json" with { type: "json" };
import { randomUUID } from "node:crypto";
import { fileURLToPath } from "node:url";
export const CLAUDE_CONFIG_DIR = process.env.CLAUDE ?? path.join(os.homedir(), ".claude");
export const CLAUDE_CONFIG_DIR =
process.env.CLAUDE_CONFIG_DIR ?? path.join(os.homedir(), ".claude");
/**
* Logger interface for customizing logging output