()
| 463 | * Check if the configured awsAuthRefresh comes from project settings |
| 464 | */ |
| 465 | export function isAwsAuthRefreshFromProjectSettings(): boolean { |
| 466 | const awsAuthRefresh = getConfiguredAwsAuthRefresh() |
| 467 | if (!awsAuthRefresh) { |
| 468 | return false |
| 469 | } |
| 470 | |
| 471 | const projectSettings = getSettingsForSource('projectSettings') |
| 472 | const localSettings = getSettingsForSource('localSettings') |
| 473 | return ( |
| 474 | projectSettings?.awsAuthRefresh === awsAuthRefresh || |
| 475 | localSettings?.awsAuthRefresh === awsAuthRefresh |
| 476 | ) |
| 477 | } |
| 478 | |
| 479 | /** |
| 480 | * Get the configured awsCredentialExport from settings |
no test coverage detected