summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-12-28 12:26:03 -0800
committerTim Smith <tsmith84@gmail.com>2020-12-28 12:26:03 -0800
commit0d6404a36b17202fc295433543706527fd82365e (patch)
tree19376e9b991477a2139e4b749433bbba57af4591 /lib
parent9738c670511334fb5ec985b436f078294ccdc46d (diff)
downloadchef-0d6404a36b17202fc295433543706527fd82365e.tar.gz
Enable more RuboCop cops that were previously disabled
We no longer need to disable these Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/util/dsc/configuration_generator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/util/dsc/configuration_generator.rb b/lib/chef/util/dsc/configuration_generator.rb
index 7e78e1ecab..7785dc3990 100644
--- a/lib/chef/util/dsc/configuration_generator.rb
+++ b/lib/chef/util/dsc/configuration_generator.rb
@@ -88,6 +88,7 @@ class Chef::Util::DSC
when FalseClass
switch_present = false
when TrueClass
+ # nothing
when String
switch_argument = escape_string_parameter_value(switch_value)
else