()
| 836 | } |
| 837 | |
| 838 | export function getDefaultMaxRetries(): number { |
| 839 | if (process.env.CLAUDE_CODE_MAX_RETRIES) { |
| 840 | return parseInt(process.env.CLAUDE_CODE_MAX_RETRIES, 10) |
| 841 | } |
| 842 | return DEFAULT_MAX_RETRIES |
| 843 | } |
| 844 | function getMaxRetries(options: RetryOptions): number { |
| 845 | return options.maxRetries ?? getDefaultMaxRetries() |
| 846 | } |
no outgoing calls
no test coverage detected