Skip to content

Commit d190d01

Browse files
committed
fix: lint
1 parent 69915c1 commit d190d01

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/amazonq/src/extensionNode.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ async function activateAmazonQNode(context: vscode.ExtensionContext) {
100100
async 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

packages/core/src/login/webview/vue/backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)