summaryrefslogtreecommitdiff
path: root/lib/chef/guard_interpreter/resource_guard_interpreter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/guard_interpreter/resource_guard_interpreter.rb')
-rw-r--r--lib/chef/guard_interpreter/resource_guard_interpreter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/guard_interpreter/resource_guard_interpreter.rb b/lib/chef/guard_interpreter/resource_guard_interpreter.rb
index adab16f5bf..5400f053ce 100644
--- a/lib/chef/guard_interpreter/resource_guard_interpreter.rb
+++ b/lib/chef/guard_interpreter/resource_guard_interpreter.rb
@@ -71,7 +71,7 @@ class Chef
# Coerce to an array to be safe. This could happen with a legacy
# resource or something overriding the default_action code in a
# subclass.
- Array(run_action).each { |action_to_run| @resource.run_action(action_to_run) }
+ Array(run_action).each do |action_to_run| @resource.run_action(action_to_run) end
resource_updated = @resource.updated
rescue Mixlib::ShellOut::ShellCommandFailed
resource_updated = nil