File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
core/src/login/webview/vue Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,10 @@ async function activateAmazonQNode(context: vscode.ExtensionContext) {
100100async function getAuthState ( ) : Promise < Omit < AuthUserState , 'source' > > {
101101 const state = AuthUtil . instance . getAuthState ( )
102102
103- if ( AuthUtil . instance . isConnected ( ) && ! ( AuthUtil . instance . isSsoSession ( ) || AuthUtil . instance . isIamSession ( ) || isSageMaker ( ) ) ) {
103+ if (
104+ AuthUtil . instance . isConnected ( ) &&
105+ ! ( AuthUtil . instance . isSsoSession ( ) || AuthUtil . instance . isIamSession ( ) || isSageMaker ( ) )
106+ ) {
104107 getLogger ( ) . error ( 'Current Amazon Q connection is not SSO nor IAM' )
105108 }
106109
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ export abstract class CommonAuthWebview extends VueWebview {
184184 abstract fetchConnections ( ) : Promise < AwsConnection [ ] | undefined >
185185
186186 async errorNotification ( e : AuthError ) {
187- showMessage ( 'error' , e . text )
187+ await showMessage ( 'error' , e . text )
188188 }
189189
190190 abstract quitLoginScreen ( ) : Promise < void >
You can’t perform that action at this time.
0 commit comments