File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/core/src/auth/providers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import {
2828 Profile ,
2929 Section ,
3030} from '../credentials/sharedCredentials'
31- import { SectionName , SharedCredentialsKeys } from '../credentials/types'
31+ import { CredentialsData , SectionName , SharedCredentialsKeys } from '../credentials/types'
3232import { SsoProfile , hasScopes , scopesSsoAccountAccess } from '../connection'
3333import { builderIdStartUrl } from '../sso/constants'
3434import { ToolkitError } from '../../shared'
@@ -390,7 +390,7 @@ export class SharedCredentialsProvider implements CredentialsProvider {
390390
391391 return async ( ) => {
392392 // Docs for config file format: https://docs.aws.amazon.com/sdkref/latest/guide/feature-assume-role-credentials.html
393- const profile = ( loadedCreds ?? profiles ) [ this . profileName ]
393+ const profile : CredentialsData = ( loadedCreds ?? profiles ) [ this . profileName ]
394394 if ( ! profile ) {
395395 throw new ToolkitError ( `auth: Profile ${ this . profileName } not found` )
396396 }
You can’t perform that action at this time.
0 commit comments