mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
fix: Use self.coder.root instead of self.root in get_paths function
This commit is contained in:
parent
9644546a65
commit
542afbeb74
1 changed files with 1 additions and 1 deletions
|
@ -601,7 +601,7 @@ class Commands:
|
|||
new_document = Document(after_command, cursor_position=len(after_command))
|
||||
|
||||
def get_paths():
|
||||
return [self.root] if self.root else None
|
||||
return [self.coder.root] if self.coder.root else None
|
||||
|
||||
path_completer = PathCompleter(
|
||||
get_paths=get_paths,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue