fixed bug found by testing

This commit is contained in:
Paul Gauthier 2023-05-24 19:09:05 -07:00
parent 82804e2a6c
commit 60031ecd29
2 changed files with 8 additions and 3 deletions

View file

@ -112,6 +112,7 @@ class RepoMap:
tags = []
for filename in filenames:
if filename.endswith(".md") or filename.endswith(".json"):
tags.append(self.split_path(filename))
continue
tags += self.get_tags(filename)
if not tags: