mirror of
https://github.com/aljazceru/claude-code-viewer.git
synced 2026-01-28 18:04:25 +01:00
fix: disable tool approve for old claude code version
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { homedir } from "node:os";
|
||||
import { resolve } from "node:path";
|
||||
import { env } from "../lib/env";
|
||||
|
||||
// biome-ignore lint/complexity/useLiteralKeys: typescript restriction
|
||||
const GLOBAL_CLAUDE_DIR = process.env["GLOBAL_CLAUDE_DIR"];
|
||||
const GLOBAL_CLAUDE_DIR = env.get("GLOBAL_CLAUDE_DIR");
|
||||
|
||||
export const globalClaudeDirectoryPath =
|
||||
GLOBAL_CLAUDE_DIR === undefined
|
||||
|
||||
Reference in New Issue
Block a user