Skip to content

Commit

Permalink
M #-: fix minor DDC bug due to linting (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro Huertas Herrero authored and rsmontero committed Jul 27, 2020
1 parent 72d70a2 commit 816b021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oneprovision/lib/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def get_erb_value(provision, value)
def evaluate_erb(provision, root)
if root.is_a? Hash
root.each_pair do |key, value|
case value.class
case value
when Array
root[key] = value.map do |x|
evaluate_erb(provision, x)
Expand Down

0 comments on commit 816b021

Please sign in to comment.