Skip to content

Commit 12748c3

Browse files
author
ccarrez
committed
fix syntaxe
1 parent 856f23e commit 12748c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/action.epp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ action(type="<%= $type %>"
2424
<% if $action_name { -%>
2525
name="<%= $action_name %>"
2626
<%}-%>
27-
<% if $config { -%>
27+
<% $config.each |$k, $v| { -%>
2828
<%- if $v =~ Array { -%>
2929
<%= $k %>=[ <%= $v.map |$i| { "\"${i}\"" }.join(', ') %> ]
3030
<%- } else { -%>

0 commit comments

Comments
 (0)