()
| 115 | * Returns an array of file paths that have otelHeadersHelper. |
| 116 | */ |
| 117 | export function getOtelHeadersHelperSources(): string[] { |
| 118 | const sources: string[] = [] |
| 119 | |
| 120 | const projectSettings = getSettingsForSource('projectSettings') |
| 121 | if (hasOtelHeadersHelper(projectSettings)) { |
| 122 | sources.push('.claude/settings.json') |
| 123 | } |
| 124 | |
| 125 | const localSettings = getSettingsForSource('localSettings') |
| 126 | if (hasOtelHeadersHelper(localSettings)) { |
| 127 | sources.push('.claude/settings.local.json') |
| 128 | } |
| 129 | |
| 130 | return sources |
| 131 | } |
| 132 | |
| 133 | /** |
| 134 | * Check if settings have apiKeyHelper configured |
no test coverage detected