Update ChunkCodebaseIndex.ts
This commit is contained in:
parent
3844208a3b
commit
333ba5d6da
1 changed files with 2 additions and 2 deletions
|
|
@ -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}`,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue