Skip to content
Snippets Groups Projects
Commit fc0625a2 authored by Roang's avatar Roang
Browse files

Fix glob to recursive

Search for *.md files recursively in the base_path directory.
parent 4bd5498b
Branches
Tags
No related merge requests found
......@@ -331,7 +331,7 @@ class GitRepo:
:return: a dictionary mapping filenames to that file's text content
"""
documents = {}
for file in self.base_path.glob(glob):
for file in self.base_path.rglob(glob):
# we are only interested in actual files
if not file.is_file():
continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment