()
| 110 | * Returns an array of file paths that have apiKeyHelper. |
| 111 | */ |
| 112 | export function getApiKeyHelperSources(): string[] { |
| 113 | const sources: string[] = [] |
| 114 | |
| 115 | const projectSettings = getSettingsForSource('projectSettings') |
| 116 | if (hasApiKeyHelper(projectSettings)) { |
| 117 | sources.push('.claude/settings.json') |
| 118 | } |
| 119 | |
| 120 | const localSettings = getSettingsForSource('localSettings') |
| 121 | if (hasApiKeyHelper(localSettings)) { |
| 122 | sources.push('.claude/settings.local.json') |
| 123 | } |
| 124 | |
| 125 | return sources |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Check if settings have AWS commands configured |
no test coverage detected