From 333ba5d6da53576a45a9d5b16163c710aa2ec7cb Mon Sep 17 00:00:00 2001 From: Patrick Erichsen Date: Tue, 13 Aug 2024 10:30:54 -0700 Subject: [PATCH] Update ChunkCodebaseIndex.ts --- core/indexing/chunk/ChunkCodebaseIndex.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/indexing/chunk/ChunkCodebaseIndex.ts b/core/indexing/chunk/ChunkCodebaseIndex.ts index 4fbc10266..498e5144e 100644 --- a/core/indexing/chunk/ChunkCodebaseIndex.ts +++ b/core/indexing/chunk/ChunkCodebaseIndex.ts @@ -61,8 +61,8 @@ export class ChunkCodebaseIndex implements CodebaseIndex { let accumulatedProgress = 0; if (results.compute.length > 0) { - const folderPath = results.compute[0].path; - const folderName = path.basename(path.dirname(folderPath)); + const filepath = results.compute[0].path; + const folderName = path.basename(path.dirname(filepath)); yield { desc: `Chunking files in ${folderName}`,