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/helpers.rb
57:48 refactor: ChefStyle/UnnecessaryOSCheck - Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values.
58:41 refactor: ChefStyle/UnnecessaryOSCheck - Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values.
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/helpers.rb
ChefStyle/UnnecessaryOSCheck
- Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values.ChefStyle/UnnecessaryOSCheck
- Use the platform_family?() helpers instead of node['os] == 'foo' for platform_families that match 1:1 with OS values.