()
| 142 | * Returns an array of file paths that have apiKeyHelper. |
| 143 | */ |
| 144 | export function getApiKeyHelperSources(): string[] { |
| 145 | const sources: string[] = [] |
| 146 | |
| 147 | const projectSettings = getSettingsForSource('projectSettings') |
| 148 | if (hasApiKeyHelper(projectSettings)) { |
| 149 | sources.push('.claude/settings.json') |
| 150 | } |
| 151 | |
| 152 | const localSettings = getSettingsForSource('localSettings') |
| 153 | if (hasApiKeyHelper(localSettings)) { |
| 154 | sources.push('.claude/settings.local.json') |
| 155 | } |
| 156 | |
| 157 | return sources |
| 158 | } |
| 159 | |
| 160 | /** |
| 161 | * Check if settings have AWS commands configured |
no test coverage detected