ignore template variables when looking for blank secrets

This commit is contained in:
meisnate12 2024-08-29 14:38:57 -04:00
parent 4990c91590
commit 0a959ad670

View file

@ -327,7 +327,7 @@ class ConfigFile:
def check_next(next_data):
if isinstance(next_data, dict):
return {k: check_next(v) for k, v in next_data.items()}
return {k: check_next(v) if k != "template_variables" else v for k, v in next_data.items()}
elif isinstance(next_data, list):
return [check_next(d) for d in next_data]
else: