Merge pull request #609 from semidark/fix/claude-path-from-config

Fix CLAUDE_PATH to also load from config
This commit is contained in:
musi
2025-08-18 06:50:15 +08:00
committed by GitHub

View File

@@ -52,7 +52,7 @@ export async function executeCodeCommand(args: string[] = []) {
incrementReferenceCount();
// Execute claude command
const claudePath = process.env.CLAUDE_PATH || "claude";
const claudePath = config?.CLAUDE_PATH || process.env.CLAUDE_PATH || "claude";
// Properly join arguments to preserve spaces in quotes
// Wrap each argument in double quotes to preserve single and double quotes inside arguments