Skip to content
Snippets Groups Projects
Unverified Commit fbbe6823 authored by Jeff Neel's avatar Jeff Neel Committed by GitHub
Browse files

Merge pull request #276 from waynegemmell/multi-values

fix(bug): config arrays as multiple lines
parents 6057ca73 fabd837b
No related branches found
No related tags found
No related merge requests found
...@@ -33,8 +33,14 @@ ...@@ -33,8 +33,14 @@
{% elif mvalue == "SETONPLEASE" %} {% elif mvalue == "SETONPLEASE" %}
{{ mparam }}{{ '='|indent(indents, true) }} ON {{ mparam }}{{ '='|indent(indents, true) }} ON
{%- else -%} {%- else -%}
{%- if mvalue is list -%}
{%- for value in mvalue %}
{{ mparam }}{{ '='|indent(indents, true) }} {{ value }}
{%- endfor -%}
{%- else -%}
{{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }} {{ mparam }}{{ '='|indent(indents, true) }} {{ mvalue }}
{%- endif -%} {%- endif -%}
{%- endif -%}
{%- endfor -%} {%- endfor -%}
{%- endif -%} {%- endif -%}
{%- endfor %} {%- endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment