summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/cookbook_uploader.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/cookbook_uploader.rb b/lib/chef/cookbook_uploader.rb
index bf2d94b2ba..825ac354da 100644
--- a/lib/chef/cookbook_uploader.rb
+++ b/lib/chef/cookbook_uploader.rb
@@ -49,7 +49,7 @@ class Chef
cookbooks.each do |cookbook|
next if cookbook.all_files.include?("#{cookbook.root_paths[0]}/metadata.json")
- generate_metadata_json(cookbook.name.to_s,cookbook)
+ generate_metadata_json(cookbook.name.to_s, cookbook)
end
# Syntax Check
@@ -120,7 +120,7 @@ class Chef
Chef::Log.info("Upload complete!")
end
- def generate_metadata_json(cookbook_name,cookbook)
+ def generate_metadata_json(cookbook_name, cookbook)
metadata = Chef::Knife::CookbookMetadata.new
metadata.generate_metadata_from_file(cookbook_name, "#{cookbook.root_paths[0]}/metadata.rb")
cookbook.all_files << "#{cookbook.root_paths[0]}/metadata.json"