From d784676616699655a9d9b7267cadf1d11ce96523 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Thu, 5 Mar 2020 15:46:48 -0800 Subject: [PATCH] Avoid the test dir in the windows_uac checks This avoids us false matching on inspec controls Signed-off-by: Tim Smith --- config/cookstyle.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/cookstyle.yml b/config/cookstyle.yml index d4804fa04..dd07bedd7 100644 --- a/config/cookstyle.yml +++ b/config/cookstyle.yml @@ -1157,6 +1157,7 @@ ChefModernize/WindowsRegistryUAC: - '**/metadata.rb' - '**/attributes/*.rb' - '**/Berksfile' + - '**/test/**/*.rb' ChefModernize/UseMultipackageInstalls: Description: Pass an array of packages to package resources instead of interating over an array of packages when using multi-package capable package subystem such as apt, yum, chocolatey, dnf, or zypper. Multipackage installs are faster and simplify logs.