Skip to content

Commit a52c804

Browse files
committed
fix: change template file search from glob to rglob for recursive search
1 parent d402a53 commit a52c804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitlabtaskscheduler/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def parse_template_file(file_path: Path) -> ScheduledTemplate:
8686
raise TemplateParsingError(f"Failed to parse template file {file_path}: {e}") from e
8787

8888
def process_template_files(directory: Path) -> List[ScheduledTemplate]:
89-
template_files = directory.glob('*.md')
89+
template_files = directory.rglob('*.md')
9090
parsed_templates = []
9191

9292
for file_path in template_files:

0 commit comments

Comments
 (0)