Closed xorimabot closed 4 years ago
Hey! I ran Cookstyle 6.2.9 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Style/RedundantReturn
return
ChefStyle/UnnecessaryOSCheck
Generated by :no_entry_sign: Danger
Hey! I ran Cookstyle 6.2.9 against this repo and here are the results. This repo was selected due to the topics of chef-cookbook
Changes
Issues found and resolved with libraries/consul_acl.rb
Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with libraries/consul_policy.rb
Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with libraries/consul_role.rb
Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with libraries/consul_token.rb
Style/RedundantReturn
- Redundantreturn
detected.Issues found and resolved with libraries/helpers.rb
ChefStyle/UnnecessaryOSCheck
- Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values.