File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
core/src/codewhisperer/util Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ async function postStartLanguageServer(
351351 } ) . mfaSerial
352352 let mfaSerial = await getMfaSerialFromUser ( defaultMfaSerial , params . profileName )
353353 mfaSerial = mfaSerial . trim ( )
354- globals . globalState . update ( 'recentMfaSerial' , { mfaSerial : mfaSerial } )
354+ await globals . globalState . update ( 'recentMfaSerial' , { mfaSerial : mfaSerial } )
355355 const mfaCode = await getMfaTokenFromUser ( mfaSerial , params . profileName )
356356 return { code : mfaCode ?? '' , mfaSerial : mfaSerial ?? '' }
357357 }
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ import {
3838 Login ,
3939 SsoLogin ,
4040 IamLogin ,
41- LoginTypes ,
4241} from '../../auth/auth2'
4342import { builderIdStartUrl , internalStartUrl } from '../../auth/sso/constants'
4443import { VSCODE_EXTENSION_ID } from '../../shared/extensions'
You can’t perform that action at this time.
0 commit comments