From 5f63bcbd06005ac0adfb307381530cb7f4a85854 Mon Sep 17 00:00:00 2001 From: Tomasz Stefaniak Date: Mon, 9 Jun 2025 15:54:27 -0700 Subject: [PATCH] improv: remove unused code --- core/llm/rules/getSystemMessageWithRules.ts | 1 - 1 file changed, 1 deletion(-) 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)