Skip to content

Commit 0fc3d3c

Browse files
authored
scan recursively (#16)
1 parent 03dbc51 commit 0fc3d3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ckit/config/config_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _load_global(self):
3838
if global_commands_dir.exists():
3939
yaml_files = []
4040
for extension in ["*.yaml", "*.yml"]:
41-
yaml_files.extend(global_commands_dir.glob(extension))
41+
yaml_files.extend(global_commands_dir.rglob(extension))
4242
logging.debug(f"Found the following global command files: {[str(file) for file in yaml_files]}")
4343
if yaml_files:
4444
for yaml_file in yaml_files:

0 commit comments

Comments
 (0)