Skip to content

Commit

Permalink
scan recursively (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpgmaas authored Mar 24, 2023
1 parent 03dbc51 commit 0fc3d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckit/config/config_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _load_global(self):
if global_commands_dir.exists():
yaml_files = []
for extension in ["*.yaml", "*.yml"]:
yaml_files.extend(global_commands_dir.glob(extension))
yaml_files.extend(global_commands_dir.rglob(extension))
logging.debug(f"Found the following global command files: {[str(file) for file in yaml_files]}")
if yaml_files:
for yaml_file in yaml_files:
Expand Down

0 comments on commit 0fc3d3c

Please sign in to comment.