Skip to content

Commit

Permalink
Manual Correction Two
Browse files Browse the repository at this point in the history
  • Loading branch information
David Swan committed Jun 4, 2018
1 parent 9cf1fbe commit f38be61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/type/hocon_setting.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
unless value.is_a?(Hash)
raise "Type specified as 'hash' but was #{value.class}"
end
# when 'array_element', nil
when 'array_element', nil # rubocop:disable Lint/EmptyWhen
# Do nothing, we'll figure it out on our own
else
raise "Type was specified as #{@resource[:type]}, but should have been one of 'boolean', 'string', 'text', 'number', 'array', or 'hash'"
Expand Down

0 comments on commit f38be61

Please sign in to comment.