MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / shouldAutoRunIssue

Function shouldAutoRunIssue

source code/utils/autoRunIssue.tsx:84–97  ·  view source on GitHub ↗
(reason: AutoRunIssueReason)

Source from the content-addressed store, hash-verified

82 * Determines if /issue should auto-run for Ant users
83 */
84export function shouldAutoRunIssue(reason: AutoRunIssueReason): boolean {
85 // Only for Ant users
86 if ("external" !== 'ant') {
87 return false;
88 }
89 switch (reason) {
90 case 'feedback_survey_bad':
91 return false;
92 case 'feedback_survey_good':
93 return false;
94 default:
95 return false;
96 }
97}
98
99/**
100 * Returns the appropriate command to auto-run based on the reason

Callers 1

REPLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected