mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Also add tests around that code path
This commit is contained in:
parent
c403f01971
commit
0ff04ad41b
2 changed files with 21 additions and 1 deletions
|
@ -422,7 +422,7 @@ class DataLoader:
|
|||
if allow_dir:
|
||||
found.extend(self._get_dir_vars_files(to_text(full_path), extensions))
|
||||
else:
|
||||
next
|
||||
continue
|
||||
else:
|
||||
found.append(full_path)
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue