From 6d30caa34db81cfd64557ce2e2af7ebc7280f26c Mon Sep 17 00:00:00 2001 From: Roo Code Date: Tue, 30 Dec 2025 05:45:04 +0000 Subject: [PATCH] fix: correct indentation in CodeParser --- src/services/code-index/processors/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/code-index/processors/parser.ts b/src/services/code-index/processors/parser.ts index 493d8f7a6a..644a676eb5 100644 --- a/src/services/code-index/processors/parser.ts +++ b/src/services/code-index/processors/parser.ts @@ -188,7 +188,7 @@ export class CodeParser implements ICodeParser { // Check if the node meets the minimum character requirement if (currentNode.text.length >= MIN_BLOCK_CHARS) { // If it also exceeds the maximum character limit, try to break it down - if (currentNode.text.length > this.maxBlockChars * MAX_CHARS_TOLERANCE_FACTOR) { + if (currentNode.text.length > this.maxBlockChars * MAX_CHARS_TOLERANCE_FACTOR) { if (currentNode.children.filter((child) => child !== null).length > 0) { // If it has children, process them instead queue.push(...currentNode.children.filter((child) => child !== null))