Skip to content

Commit ca51867

Browse files
committed
linftix
1 parent e58a425 commit ca51867

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/amazonq/test/unit/codewhisperer/util/authUtil.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ describe('AuthUtil', async function () {
250250

251251
sinon.stub(mementoUtils, 'getEnvironmentSpecificMemento').returns(memento)
252252
sinon.stub(cache, 'getCacheDir').returns(cacheDir)
253-
253+
254254
mockLspAuth = (auth as any).lspAuth
255-
mockLspAuth.getSsoToken.resolves(undefined)
255+
mockLspAuth.getSsoToken.resolves(undefined)
256256

257257
fromTokenFile = cache.getTokenCacheFile(cacheDir, 'profile1')
258258
const registrationKey = {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ export class AuthUtil implements IAuthProvider {
403403

404404
if (!profiles) {
405405
return
406-
}
407-
406+
}
407+
408408
try {
409409
// Try go get token from LSP auth. If available, skip migration and delete old auth profile
410410
const token = await this.lspAuth.getSsoToken(

0 commit comments

Comments
 (0)