We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5f6c26 commit 85d5eadCopy full SHA for 85d5ead
lib/puppet/parser/functions/concat.rb
@@ -28,11 +28,7 @@ module Puppet::Parser::Functions
28
raise(Puppet::ParseError, 'concat(): Requires array to work with')
29
end
30
31
- if b.is_a?(Array)
32
- result = a.concat(b)
33
- else
34
- result = a << b
35
- end
+ result = a + Array(b)
36
37
return result
38
0 commit comments