Skip to content

Commit 5369d57

Browse files
committed
fix authUtil tests and description for getMfaSerial
1 parent 43f43b7 commit 5369d57

File tree

2 files changed

+15
-43
lines changed

2 files changed

+15
-43
lines changed

packages/amazonq/package.json

Lines changed: 14 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,134 +1196,106 @@
11961196
"description": "AWS Contributed Icon",
11971197
"default": {
11981198
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1199-
"fontCharacter": "\\f1d3"
1199+
"fontCharacter": "\\f1d1"
12001200
}
12011201
},
12021202
"aws-mynah-MynahIconBlack": {
12031203
"description": "AWS Contributed Icon",
12041204
"default": {
12051205
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1206-
"fontCharacter": "\\f1d4"
1206+
"fontCharacter": "\\f1d2"
12071207
}
12081208
},
12091209
"aws-mynah-MynahIconWhite": {
12101210
"description": "AWS Contributed Icon",
12111211
"default": {
12121212
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1213-
"fontCharacter": "\\f1d5"
1213+
"fontCharacter": "\\f1d3"
12141214
}
12151215
},
12161216
"aws-mynah-logo": {
12171217
"description": "AWS Contributed Icon",
12181218
"default": {
12191219
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1220-
"fontCharacter": "\\f1d6"
1220+
"fontCharacter": "\\f1d4"
12211221
}
12221222
},
12231223
"aws-redshift-cluster": {
12241224
"description": "AWS Contributed Icon",
12251225
"default": {
12261226
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1227-
"fontCharacter": "\\f1d7"
1227+
"fontCharacter": "\\f1d5"
12281228
}
12291229
},
12301230
"aws-redshift-cluster-connected": {
12311231
"description": "AWS Contributed Icon",
12321232
"default": {
12331233
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1234-
"fontCharacter": "\\f1d8"
1234+
"fontCharacter": "\\f1d6"
12351235
}
12361236
},
12371237
"aws-redshift-database": {
12381238
"description": "AWS Contributed Icon",
12391239
"default": {
12401240
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1241-
"fontCharacter": "\\f1d9"
1241+
"fontCharacter": "\\f1d7"
12421242
}
12431243
},
12441244
"aws-redshift-redshift-cluster-connected": {
12451245
"description": "AWS Contributed Icon",
12461246
"default": {
12471247
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1248-
"fontCharacter": "\\f1da"
1248+
"fontCharacter": "\\f1d8"
12491249
}
12501250
},
12511251
"aws-redshift-schema": {
12521252
"description": "AWS Contributed Icon",
12531253
"default": {
12541254
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1255-
"fontCharacter": "\\f1db"
1255+
"fontCharacter": "\\f1d9"
12561256
}
12571257
},
12581258
"aws-redshift-table": {
12591259
"description": "AWS Contributed Icon",
12601260
"default": {
12611261
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1262-
"fontCharacter": "\\f1dc"
1262+
"fontCharacter": "\\f1da"
12631263
}
12641264
},
12651265
"aws-s3-bucket": {
12661266
"description": "AWS Contributed Icon",
12671267
"default": {
12681268
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1269-
"fontCharacter": "\\f1dd"
1269+
"fontCharacter": "\\f1db"
12701270
}
12711271
},
12721272
"aws-s3-create-bucket": {
12731273
"description": "AWS Contributed Icon",
12741274
"default": {
12751275
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1276-
"fontCharacter": "\\f1de"
1276+
"fontCharacter": "\\f1dc"
12771277
}
12781278
},
12791279
"aws-schemas-registry": {
12801280
"description": "AWS Contributed Icon",
12811281
"default": {
12821282
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1283-
"fontCharacter": "\\f1e1"
1283+
"fontCharacter": "\\f1dd"
12841284
}
12851285
},
12861286
"aws-schemas-schema": {
12871287
"description": "AWS Contributed Icon",
12881288
"default": {
12891289
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1290-
"fontCharacter": "\\f1e2"
1290+
"fontCharacter": "\\f1de"
12911291
}
12921292
},
12931293
"aws-stepfunctions-preview": {
1294-
"description": "AWS Contributed Icon",
1295-
"default": {
1296-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1297-
"fontCharacter": "\\f1e3"
1298-
}
1299-
},
1300-
"aws-lambda-create-stack": {
1301-
"description": "AWS Contributed Icon",
1302-
"default": {
1303-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1304-
"fontCharacter": "\\f1d1"
1305-
}
1306-
},
1307-
"aws-lambda-create-stack-light": {
1308-
"description": "AWS Contributed Icon",
1309-
"default": {
1310-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1311-
"fontCharacter": "\\f1d2"
1312-
}
1313-
},
1314-
"aws-sagemaker-code-editor": {
13151294
"description": "AWS Contributed Icon",
13161295
"default": {
13171296
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
13181297
"fontCharacter": "\\f1df"
13191298
}
1320-
},
1321-
"aws-sagemaker-jupyter-lab": {
1322-
"description": "AWS Contributed Icon",
1323-
"default": {
1324-
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
1325-
"fontCharacter": "\\f1e0"
1326-
}
13271299
}
13281300
},
13291301
"walkthroughs": [

packages/core/src/codewhisperer/util/authUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export class AuthUtil implements IAuthProvider {
153153
await this.session.restore()
154154
if (!this.isConnected()) {
155155
// If both fail, reset the session
156-
await this.session?.logout()
156+
this.session = undefined
157157
}
158158
}
159159
}

0 commit comments

Comments
 (0)