mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 17:55:01 +00:00
fixed bug caught in tests
This commit is contained in:
parent
7fe7f1e279
commit
32289bc40f
1 changed files with 1 additions and 2 deletions
|
@ -122,8 +122,7 @@ class RepoMap:
|
||||||
|
|
||||||
def split_path(self, path):
|
def split_path(self, path):
|
||||||
path = os.path.relpath(path, self.root)
|
path = os.path.relpath(path, self.root)
|
||||||
return [path]
|
return [path + ":"]
|
||||||
return fname_to_components(path, True)
|
|
||||||
|
|
||||||
def get_tags(self, filename):
|
def get_tags(self, filename):
|
||||||
# Check if the file is in the cache and if the modification time has not changed
|
# Check if the file is in the cache and if the modification time has not changed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue