()
| 137 | * Returns an array of file paths that have awsAuthRefresh or awsCredentialExport. |
| 138 | */ |
| 139 | export function getAwsCommandsSources(): string[] { |
| 140 | const sources: string[] = [] |
| 141 | |
| 142 | const projectSettings = getSettingsForSource('projectSettings') |
| 143 | if (hasAwsCommands(projectSettings)) { |
| 144 | sources.push('.claude/settings.json') |
| 145 | } |
| 146 | |
| 147 | const localSettings = getSettingsForSource('localSettings') |
| 148 | if (hasAwsCommands(localSettings)) { |
| 149 | sources.push('.claude/settings.local.json') |
| 150 | } |
| 151 | |
| 152 | return sources |
| 153 | } |
| 154 | |
| 155 | /** |
| 156 | * Check if settings have GCP commands configured |
no test coverage detected