]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(maint) better error reporting for prefix and suffix
authorAdrien Thebo <git@somethingsinistral.net>
Wed, 27 Mar 2013 20:37:25 +0000 (13:37 -0700)
committerAdrien Thebo <git@somethingsinistral.net>
Wed, 27 Mar 2013 20:37:25 +0000 (13:37 -0700)
commit29402f31e73a426dcc449216010834884d0251ec
tree5b7751a1d154dcbb86f3bcb7d78a5e65b59fbdac
parenta83318d3ee41683118a55a2b15769c97efbcf6d9
(maint) better error reporting for prefix and suffix

When prefix and suffix did error checking with positional arguments,
they would not report the position of the argument that failed to
validate. This commit changes the messages to indicate which argument
failed.
lib/puppet/parser/functions/prefix.rb
lib/puppet/parser/functions/suffix.rb