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