mirror of
https://github.com/markwylde/claude-code-gitea-action.git
synced 2026-02-19 18:12:50 +08:00
Attempt to make this work
This commit is contained in:
@@ -187,12 +187,12 @@ export class ClaudeExecutor {
|
||||
|
||||
// Add allowed tools if specified
|
||||
if (tools.allowed.length > 0) {
|
||||
args.push("--allowed-tools", tools.allowed.join(","));
|
||||
args.push("--allowedTools", tools.allowed.join(","));
|
||||
}
|
||||
|
||||
// Add disallowed tools if specified
|
||||
if (tools.disallowed.length > 0) {
|
||||
args.push("--disallowed-tools", tools.disallowed.join(","));
|
||||
args.push("--disallowedTools", tools.disallowed.join(","));
|
||||
}
|
||||
|
||||
console.log("[CLAUDE-EXECUTOR] Claude Code command:", "claude", args.join(" "));
|
||||
|
||||
Reference in New Issue
Block a user