Hey!
I ran Cookstyle 6.16.4 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 resources/configure.rb
20:1 refactor: ChefRedundantCode/CustomResourceWithAllowedActions - It is not necessary to set actions or allowed_actions in custom resources as Chef Infra Client determines these automatically from the set of all actions defined in the resource
Issues found and resolved with resources/install.rb
19:1 refactor: ChefRedundantCode/CustomResourceWithAllowedActions - It is not necessary to set actions or allowed_actions in custom resources as Chef Infra Client determines these automatically from the set of all actions defined in the resource
Issues found and resolved with resources/sentinel.rb
19:1 refactor: ChefRedundantCode/CustomResourceWithAllowedActions - It is not necessary to set actions or allowed_actions in custom resources as Chef Infra Client determines these automatically from the set of all actions defined in the resource
Hey! I ran Cookstyle 6.16.4 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 resources/configure.rb
ChefRedundantCode/CustomResourceWithAllowedActions
- It is not necessary to setactions
orallowed_actions
in custom resources as Chef Infra Client determines these automatically from the set of all actions defined in the resourceIssues found and resolved with resources/install.rb
ChefRedundantCode/CustomResourceWithAllowedActions
- It is not necessary to setactions
orallowed_actions
in custom resources as Chef Infra Client determines these automatically from the set of all actions defined in the resourceIssues found and resolved with resources/sentinel.rb
ChefRedundantCode/CustomResourceWithAllowedActions
- It is not necessary to setactions
orallowed_actions
in custom resources as Chef Infra Client determines these automatically from the set of all actions defined in the resource