Fix typo
authorTom Hughes <tom@compton.nu>
Sat, 14 Feb 2015 16:51:25 +0000 (16:51 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 14 Feb 2015 16:51:25 +0000 (16:51 +0000)
cookbooks/chef/libraries/subversion.rb

index 31b33c92daca6449a994de0aa76ebde7b24ebea8..25485f4bb8780b6ead4170647ee6eee0cb71fa19 100644 (file)
@@ -23,7 +23,7 @@ class Chef
       def repo_attrs
         return {} unless ::File.exist?(::File.join(@new_resource.destination, ".svn"))
 
-        @repo_attrs ||= svn_info.lines.ech_with_object({}) do |attrs, line|
+        @repo_attrs ||= svn_info.lines.each_with_object({}) do |attrs, line|
           if line =~ SVN_INFO_PATTERN
             property, value = Regexp.last_match[1], Regexp.last_match[2]
             attrs[property] = value