diff options
author | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2019-10-22 14:40:47 +0530 |
---|---|---|
committer | Vasu1105 <vasundhara.jagdale@msystechnologies.com> | 2020-01-22 10:50:38 +0530 |
commit | 9c245b8e9ee919fe1f996ca118816c27744788b7 (patch) | |
tree | 8c55c51da2604cb2caabd6366bd3585434b2662d | |
parent | 28be43bc6476e5ee7eb0a83d8cdc2e8db00489bd (diff) | |
download | chef-9c245b8e9ee919fe1f996ca118816c27744788b7.tar.gz |
Fixed chef style error
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
-rw-r--r-- | lib/chef/cookbook_uploader.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/cookbook_uploader.rb b/lib/chef/cookbook_uploader.rb index 042100bab7..25dea99c06 100644 --- a/lib/chef/cookbook_uploader.rb +++ b/lib/chef/cookbook_uploader.rb @@ -140,6 +140,7 @@ class Chef def validate_cookbooks cookbooks.each do |cb| next if cb.nil? + syntax_checker = Chef::Cookbook::SyntaxCheck.for_cookbook(cb.root_dir) Chef::Log.info("Validating ruby files") exit(1) unless syntax_checker.validate_ruby_files |