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/dsl.rb
27:1 refactor: ChefCorrectness/IncorrectLibraryInjection - Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.
29: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/dsl.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.