Skip to content

Commit 44b1572

Browse files
committed
fix lint error
1 parent 05586f9 commit 44b1572

File tree

1 file changed

+3
-3
lines changed
  • packages/core/src/codewhispererChat/controllers/chat

1 file changed

+3
-3
lines changed

packages/core/src/codewhispererChat/controllers/chat/controller.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -917,14 +917,14 @@ export class ChatController {
917917
if (contextCommands.length === 0) {
918918
return []
919919
}
920-
let workspaceFolders = (vscode.workspace.workspaceFolders ?? []).map((folder) => folder.uri.fsPath)
920+
const workspaceFolders = (vscode.workspace.workspaceFolders ?? []).map((folder) => folder.uri.fsPath)
921921
if (!workspaceFolders) {
922922
return []
923923
}
924924
workspaceFolders.sort()
925-
let workspaceFolder = workspaceFolders[0]
925+
const workspaceFolder = workspaceFolders[0]
926926
for (const contextCommand of contextCommands) {
927-
let relativePath = path.relative(
927+
const relativePath = path.relative(
928928
workspaceFolder,
929929
path.join(contextCommand.workspaceFolder, contextCommand.relativePath)
930930
)

0 commit comments

Comments
 (0)