summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/remote_file_vendor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/cookbook/remote_file_vendor.rb')
-rw-r--r--lib/chef/cookbook/remote_file_vendor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/remote_file_vendor.rb b/lib/chef/cookbook/remote_file_vendor.rb
index d483c54f8f..9155162c4c 100644
--- a/lib/chef/cookbook/remote_file_vendor.rb
+++ b/lib/chef/cookbook/remote_file_vendor.rb
@@ -45,7 +45,7 @@ class Chef
end
raise "No such segment #{segment} in cookbook #{@cookbook_name}" unless @manifest[segment]
- found_manifest_record = @manifest[segment].find {|manifest_record| manifest_record[:path] == filename }
+ found_manifest_record = @manifest[segment].find { |manifest_record| manifest_record[:path] == filename }
raise "No such file #{filename} in #{@cookbook_name}" unless found_manifest_record
cache_filename = File.join("cookbooks", @cookbook_name, found_manifest_record["path"])