()
| 169 | * Returns an array of file paths that have awsAuthRefresh or awsCredentialExport. |
| 170 | */ |
| 171 | export function getAwsCommandsSources(): string[] { |
| 172 | const sources: string[] = [] |
| 173 | |
| 174 | const projectSettings = getSettingsForSource('projectSettings') |
| 175 | if (hasAwsCommands(projectSettings)) { |
| 176 | sources.push('.claude/settings.json') |
| 177 | } |
| 178 | |
| 179 | const localSettings = getSettingsForSource('localSettings') |
| 180 | if (hasAwsCommands(localSettings)) { |
| 181 | sources.push('.claude/settings.local.json') |
| 182 | } |
| 183 | |
| 184 | return sources |
| 185 | } |
| 186 | |
| 187 | /** |
| 188 | * Check if settings have GCP commands configured |
no test coverage detected