Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion ietf/utils/test_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,11 @@ def get_template_paths(apps=None) -> list[str]:
relative_path = pathlib.Path(
dirpath.removeprefix(templatepath).lstrip("/")
)
if apps and relative_path.parts[0] not in apps:
if (
apps
and len(relative_path.parts) > 0
and relative_path.parts[0] not in apps
):
continue # skip uninteresting apps
for filename in files:
file_path = project_path / filename
Expand Down
Loading