Hey!
I ran Cookstyle 6.17.7 against this repo and here are the results.
This repo was selected due to the topics of cookbook
Changes
Issues found and resolved with libraries/helpers.rb
79:1 refactor: ChefCorrectness/IncorrectLibraryInjection - Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.
81:1 refactor: ChefCorrectness/IncorrectLibraryInjection - Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.
Hey! I ran Cookstyle 6.17.7 against this repo and here are the results. This repo was selected due to the topics of cookbook
Changes
Issues found and resolved with libraries/helpers.rb
ChefCorrectness/IncorrectLibraryInjection
- Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.ChefCorrectness/IncorrectLibraryInjection
- Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.