Merge pull request #276 from waynegemmell/multi-values

fix(bug): config arrays as multiple lines
This commit is contained in:
Jeff Neel 2023-11-28 08:39:30 -06:00 committed by GitHub
commit fbbe68236a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,8 +33,14 @@
{% elif mvalue == "SETONPLEASE" %}
{{ mparam }}{{ '='|indent(indents, true) }} ON
{%- else -%}
{%- if mvalue is list -%}
{%- for value in mvalue %}
{{ mparam }}{{ '='|indent(indents, true) }} {{ value }}
{%- endfor -%}
{%- else -%}
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endif -%}
{%- endfor %}