mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-23 23:14:13 +08:00
Fix missed tracking comment to be false
This commit is contained in:
@@ -37,6 +37,6 @@ export const agentMode: Mode = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
shouldCreateTrackingComment() {
|
shouldCreateTrackingComment() {
|
||||||
return true;
|
return false;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ describe("Agent Mode", () => {
|
|||||||
expect(agentMode.description).toBe(
|
expect(agentMode.description).toBe(
|
||||||
"Automation mode that always runs without trigger checking",
|
"Automation mode that always runs without trigger checking",
|
||||||
);
|
);
|
||||||
expect(agentMode.shouldCreateTrackingComment()).toBe(true);
|
expect(agentMode.shouldCreateTrackingComment()).toBe(false);
|
||||||
|
|
||||||
// Tool methods return empty arrays
|
// Tool methods return empty arrays
|
||||||
expect(agentMode.getAllowedTools()).toEqual([]);
|
expect(agentMode.getAllowedTools()).toEqual([]);
|
||||||
|
|||||||
Reference in New Issue
Block a user