mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2025-12-26 17:54:23 +01:00
refactor(ApplicationContext): rename environment variable for clarity
- Changed the environment variable from "CLAUDE_CODE_VIEWER_CC_EXECUTABLE_PATH" to "GLOBAL_CLAUDE_DIR" for better understanding and usage within the application context.
This commit is contained in:
@@ -9,7 +9,7 @@ const LayerImpl = Effect.gen(function* () {
|
||||
const envService = yield* EnvService;
|
||||
|
||||
const globalClaudeDirectoryPath = yield* envService
|
||||
.getEnv("CLAUDE_CODE_VIEWER_CC_EXECUTABLE_PATH")
|
||||
.getEnv("GLOBAL_CLAUDE_DIR")
|
||||
.pipe(
|
||||
Effect.map((envVar) =>
|
||||
envVar === undefined
|
||||
|
||||
Reference in New Issue
Block a user