X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/64360314db2d3d9a9701ffbc7c3ba56df1665d27..e11280b3d291a2be021d4c7bea3252d01547d447:/cookbooks/chef/libraries/subversion.rb?ds=sidebyside diff --git a/cookbooks/chef/libraries/subversion.rb b/cookbooks/chef/libraries/subversion.rb index 787f64b3d..b5ac6f301 100644 --- a/cookbooks/chef/libraries/subversion.rb +++ b/cookbooks/chef/libraries/subversion.rb @@ -25,7 +25,8 @@ class Chef @repo_attrs ||= svn_info.lines.each_with_object({}) do |line, attrs| if line =~ SVN_INFO_PATTERN - property, value = Regexp.last_match[1], Regexp.last_match[2] + property = Regexp.last_match[1] + value = Regexp.last_match[2] attrs[property] = value else fail "Could not parse `svn info` data: #{line}"