mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
style: apply prettier formatting
Co-authored-by: Chris Lloyd <chrislloyd@users.noreply.github.com>
This commit is contained in:
@@ -1248,7 +1248,10 @@ describe("buildRemoteAgentAllowedToolsString", () => {
|
||||
|
||||
test("should never include dangerous git tools regardless of parameters", () => {
|
||||
const dangerousCustomTools = ["Bash(git commit:*)", "Bash(git config:*)"];
|
||||
const result = buildRemoteAgentAllowedToolsString(dangerousCustomTools, true);
|
||||
const result = buildRemoteAgentAllowedToolsString(
|
||||
dangerousCustomTools,
|
||||
true,
|
||||
);
|
||||
|
||||
// The function should still include dangerous tools if explicitly provided in custom tools
|
||||
// This is by design - if someone explicitly adds them, they should be included
|
||||
|
||||
Reference in New Issue
Block a user