Skip to content

Commit

Permalink
fix(template): bugfix for compound group keys (#487)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocervell authored Nov 26, 2024
1 parent 1493063 commit b3e7327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion secator/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def _extract_tasks(self):

def parse_config(config, prefix=''):
for key, value in config.items():
if key == '_group':
if key.startswith('_group'):
parse_config(value, prefix)
elif value:
task_name = f'{prefix}/{key}' if prefix else key
Expand Down

0 comments on commit b3e7327

Please sign in to comment.