Skip to content

Commit dd4b6bf

Browse files
committed
patch #7151
1 parent 3549e33 commit dd4b6bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,8 @@ export class AuthUtil {
143143

144144
if (!this.isConnected()) {
145145
await this.regionProfileManager.invalidateProfile(this.regionProfileManager.activeRegionProfile?.arn)
146+
await this.regionProfileManager.clearCache()
146147
}
147-
148-
await this.regionProfileManager.clearCache()
149148
})
150149

151150
this.regionProfileManager.onDidChangeRegionProfile(async () => {

0 commit comments

Comments
 (0)