Hey!
I ran Cookstyle 6.13.3 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_installation_binary.rb
43:7 refactor: ChefModernize/ActionMethodInResource - Use the custom resource language's action :my_action blocks instead of creating actions with methods.
74:7 refactor: ChefModernize/ActionMethodInResource - Use the custom resource language's action :my_action blocks instead of creating actions with methods.
Issues found and resolved with libraries/consul_installation_git.rb
37:7 refactor: ChefModernize/ActionMethodInResource - Use the custom resource language's action :my_action blocks instead of creating actions with methods.
65:7 refactor: ChefModernize/ActionMethodInResource - Use the custom resource language's action :my_action blocks instead of creating actions with methods.
Issues found and resolved with libraries/consul_installation_package.rb
40:7 refactor: ChefModernize/ActionMethodInResource - Use the custom resource language's action :my_action blocks instead of creating actions with methods.
51:7 refactor: ChefModernize/ActionMethodInResource - Use the custom resource language's action :my_action blocks instead of creating actions with methods.
Hey! I ran Cookstyle 6.13.3 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_installation_binary.rb
ChefModernize/ActionMethodInResource
- Use the custom resource language'saction :my_action
blocks instead of creating actions with methods.ChefModernize/ActionMethodInResource
- Use the custom resource language'saction :my_action
blocks instead of creating actions with methods.Issues found and resolved with libraries/consul_installation_git.rb
ChefModernize/ActionMethodInResource
- Use the custom resource language'saction :my_action
blocks instead of creating actions with methods.ChefModernize/ActionMethodInResource
- Use the custom resource language'saction :my_action
blocks instead of creating actions with methods.Issues found and resolved with libraries/consul_installation_package.rb
ChefModernize/ActionMethodInResource
- Use the custom resource language'saction :my_action
blocks instead of creating actions with methods.ChefModernize/ActionMethodInResource
- Use the custom resource language'saction :my_action
blocks instead of creating actions with methods.