summaryrefslogtreecommitdiff
path: root/lib/puppet/parser/functions/shell_join.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/parser/functions/shell_join.rb')
-rw-r--r--lib/puppet/parser/functions/shell_join.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/puppet/parser/functions/shell_join.rb b/lib/puppet/parser/functions/shell_join.rb
index 05aeb95..682ed8d 100644
--- a/lib/puppet/parser/functions/shell_join.rb
+++ b/lib/puppet/parser/functions/shell_join.rb
@@ -13,8 +13,7 @@ This function behaves the same as ruby's Shellwords.shelljoin() function
EOS
) do |arguments|
- raise(Puppet::ParseError, "shell_join(): Wrong number of arguments " +
- "given (#{arguments.size} for 1)") if arguments.size != 1
+ raise(Puppet::ParseError, "shell_join(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.size != 1
array = arguments[0]