diff options
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/run_context.rb | 1 | ||||
-rw-r--r-- | lib/chef/util/dsc/configuration_generator.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb index 75c18f2fcf..950be98eee 100644 --- a/lib/chef/run_context.rb +++ b/lib/chef/run_context.rb @@ -661,6 +661,7 @@ class Chef # class ChildRunContext < RunContext extend Forwardable + # rubocop: disable Lint/RedundantSplatExpansion def_delegators :parent_run_context, *%w{ action_collection action_collection= 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 |