]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(maint) Fix location_for helper method
authorJeff McCune <jeff@puppetlabs.com>
Thu, 29 Aug 2013 19:59:44 +0000 (12:59 -0700)
committerJeff McCune <jeff@puppetlabs.com>
Thu, 29 Aug 2013 20:02:31 +0000 (13:02 -0700)
commit10575587f42fcd84284e0ba85a6c656a37870aa8
tree72108a645dbd95ad3216c2be73652e4c761e481c
parent6dd6d060df57362733ed8210bbf56f38372d1f5e
(maint) Fix location_for helper method

Without this patch the location_for helper method in the Gemfile
incorrectly assumes the mdata variable has a value.  This patch
addresses the problem by explicitly binding the regular expression match
results to the mdata variable to ensure it has a value when accessed by
index.
Gemfile