Skip to content

Commit a1a4847

Browse files
committed
fix: package-lock.json, unused type error and async function error
1 parent f0f337d commit a1a4847

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/amazonq/src/lsp/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ async function postStartLanguageServer(
351351
}).mfaSerial
352352
let mfaSerial = await getMfaSerialFromUser(defaultMfaSerial, params.profileName)
353353
mfaSerial = mfaSerial.trim()
354-
globals.globalState.update('recentMfaSerial', { mfaSerial: mfaSerial })
354+
await globals.globalState.update('recentMfaSerial', { mfaSerial: mfaSerial })
355355
const mfaCode = await getMfaTokenFromUser(mfaSerial, params.profileName)
356356
return { code: mfaCode ?? '', mfaSerial: mfaSerial ?? '' }
357357
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ import {
3838
Login,
3939
SsoLogin,
4040
IamLogin,
41-
LoginTypes,
4241
} from '../../auth/auth2'
4342
import { builderIdStartUrl, internalStartUrl } from '../../auth/sso/constants'
4443
import { VSCODE_EXTENSION_ID } from '../../shared/extensions'

0 commit comments

Comments
 (0)