()
| 389 | * Check if the configured awsAuthRefresh comes from project settings |
| 390 | */ |
| 391 | export function isAwsAuthRefreshFromProjectSettings(): boolean { |
| 392 | const awsAuthRefresh = getConfiguredAwsAuthRefresh() |
| 393 | if (!awsAuthRefresh) { |
| 394 | return false |
| 395 | } |
| 396 | |
| 397 | const projectSettings = getSettingsForSource('projectSettings') |
| 398 | const localSettings = getSettingsForSource('localSettings') |
| 399 | return ( |
| 400 | projectSettings?.awsAuthRefresh === awsAuthRefresh || |
| 401 | localSettings?.awsAuthRefresh === awsAuthRefresh |
| 402 | ) |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * Get the configured awsCredentialExport from settings |
no test coverage detected