Skip to content

Commit d87152c

Browse files
committed
fix on feedback
1 parent be5670b commit d87152c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/amazonq/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"name": "amazon-q-vscode",
33
"displayName": "Amazon Q",
44
"description": "The most capable generative AI-powered assistant for building, operating, and transforming software, with advanced capabilities for managing data and AI",
5-
65
"version": "1.49.0-SNAPSHOT",
76
"extensionKind": [
87
"workspace"

packages/core/src/amazonq/lsp/lspController.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { ToolkitError } from '../../shared/errors'
2323
import { isWeb } from '../../shared/extensionGlobals'
2424
import { getUserAgent } from '../../shared/telemetry/util'
2525
import { isAmazonInternalOs } from '../../shared/vscode/env'
26-
import { sleep } from '../../shared/utilities/timeoutUtils'
2726
import { RelevantTextDocumentAddition } from '../../codewhispererChat/controllers/chat/model'
2827

2928
export interface Chunk {
@@ -401,7 +400,7 @@ export class LspController {
401400
await activateLsp(context)
402401
getLogger().info('LspController: LSP activated')
403402
await vscode.commands.executeCommand(`aws.amazonq.updateContextCommandItems`)
404-
await sleep(5_000).then(void LspController.instance.buildIndex(buildIndexConfig))
403+
void LspController.instance.buildIndex(buildIndexConfig)
405404
// log the LSP server CPU and Memory usage per 30 minutes.
406405
globals.clock.setInterval(
407406
async () => {

0 commit comments

Comments
 (0)