()
| 787 | } |
| 788 | |
| 789 | export function getDefaultMaxRetries(): number { |
| 790 | if (process.env.CLAUDE_CODE_MAX_RETRIES) { |
| 791 | return parseInt(process.env.CLAUDE_CODE_MAX_RETRIES, 10) |
| 792 | } |
| 793 | return DEFAULT_MAX_RETRIES |
| 794 | } |
| 795 | function getMaxRetries(options: RetryOptions): number { |
| 796 | return options.maxRetries ?? getDefaultMaxRetries() |
| 797 | } |
no outgoing calls
no test coverage detected