From 32289bc40f081ce65076e4a1c170d75fe11f8ee0 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 26 May 2023 15:50:35 -0700 Subject: [PATCH] fixed bug caught in tests --- aider/repomap.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/repomap.py b/aider/repomap.py index 577b7973d..26a52d064 100644 --- a/aider/repomap.py +++ b/aider/repomap.py @@ -122,8 +122,7 @@ class RepoMap: def split_path(self, path): path = os.path.relpath(path, self.root) - return [path] - return fname_to_components(path, True) + return [path + ":"] def get_tags(self, filename): # Check if the file is in the cache and if the modification time has not changed