mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
fix for tests
This commit is contained in:
parent
3c1a6acc0d
commit
aaceec1e1f
1 changed files with 2 additions and 1 deletions
|
@ -37,8 +37,9 @@ class AutoCompleter(Completer):
|
||||||
self.words = set()
|
self.words = set()
|
||||||
|
|
||||||
self.commands = commands
|
self.commands = commands
|
||||||
self.command_names = self.commands.get_commands()
|
|
||||||
self.command_completions = dict()
|
self.command_completions = dict()
|
||||||
|
if commands:
|
||||||
|
self.command_names = self.commands.get_commands()
|
||||||
|
|
||||||
for rel_fname in addable_rel_fnames:
|
for rel_fname in addable_rel_fnames:
|
||||||
self.words.add(rel_fname)
|
self.words.add(rel_fname)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue