summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/prefix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/prefix.rb')
-rw-r--r--lib/puppet/parser/functions/prefix.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/prefix.rb b/lib/puppet/parser/functions/prefix.rb
index ac1c58a..b1c1e35 100644
--- a/lib/puppet/parser/functions/prefix.rb
+++ b/lib/puppet/parser/functions/prefix.rb
@@ -15,8 +15,7 @@ Will return: ['pa','pb','pc']
) do |arguments|
# Technically we support two arguments but only first is mandatory ...
- raise(Puppet::ParseError, "prefix(): Wrong number of arguments " +
- "given (#{arguments.size} for 1)") if arguments.size < 1
+ raise(Puppet::ParseError, "prefix(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.size < 1
enumerable = arguments[0]