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