mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
fixed missing case of just the filename
This commit is contained in:
parent
046e6ed9d4
commit
af85c81c13
1 changed files with 3 additions and 3 deletions
|
@ -63,10 +63,10 @@ def get_tags(filename, root_dname):
|
|||
output = subprocess.check_output(cmd).decode("utf-8")
|
||||
output = output.splitlines()
|
||||
|
||||
if not output:
|
||||
yield split_path(filename, root_dname)
|
||||
|
||||
tags = []
|
||||
if not output:
|
||||
tags.append(split_path(filename, root_dname))
|
||||
|
||||
for line in output:
|
||||
tag = json.loads(line)
|
||||
path = tag.get("path")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue