summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook/manifest_v2.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/cookbook/manifest_v2.rb')
-rw-r--r--lib/chef/cookbook/manifest_v2.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/cookbook/manifest_v2.rb b/lib/chef/cookbook/manifest_v2.rb
index 2b98c3550c..ff7b9605a0 100644
--- a/lib/chef/cookbook/manifest_v2.rb
+++ b/lib/chef/cookbook/manifest_v2.rb
@@ -31,7 +31,7 @@ class Chef
def to_h(manifest)
result = manifest.manifest.dup
- result["all_files"].map! { |file| file.delete("full_path"); file }
+ result["all_files"].map! do |file| file.delete("full_path"); file end
result["frozen?"] = manifest.frozen_version?
result["chef_type"] = "cookbook_version"
result.to_hash