diff --git a/core/llm/rules/getSystemMessageWithRules.ts b/core/llm/rules/getSystemMessageWithRules.ts index 35e8399ab..8fb4e49e1 100644 --- a/core/llm/rules/getSystemMessageWithRules.ts +++ b/core/llm/rules/getSystemMessageWithRules.ts @@ -91,7 +91,6 @@ const isFileInDirectory = ( // Extract the last parts of the paths for comparison // This allows matching relative paths with absolute paths // e.g., "nested-folder/file.py" should match "/path/to/nested-folder/" - const filePathParts = normalizedFilePath.split("/"); const dirPathParts = normalizedDirPath.split("/"); // Get the directory name (last part of the directory path)