()
| 439 | * Check if the configured awsAuthRefresh comes from project settings |
| 440 | */ |
| 441 | export function isAwsAuthRefreshFromProjectSettings(): boolean { |
| 442 | const awsAuthRefresh = getConfiguredAwsAuthRefresh() |
| 443 | if (!awsAuthRefresh) { |
| 444 | return false |
| 445 | } |
| 446 | |
| 447 | const projectSettings = getSettingsForSource('projectSettings') |
| 448 | const localSettings = getSettingsForSource('localSettings') |
| 449 | return ( |
| 450 | projectSettings?.awsAuthRefresh === awsAuthRefresh || |
| 451 | localSettings?.awsAuthRefresh === awsAuthRefresh |
| 452 | ) |
| 453 | } |
| 454 | |
| 455 | /** |
| 456 | * Get the configured awsCredentialExport from settings |
no test coverage detected