diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/resource.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb index f2f14b6955..12d4f007ba 100644 --- a/lib/chef/resource.rb +++ b/lib/chef/resource.rb @@ -1152,7 +1152,7 @@ class Chef action = action.to_sym new_action_provider_class.action(action, &recipe_block) self.allowed_actions += [ action ] - default_action action if default_action == [:nothing] + default_action action if Array(default_action) == [:nothing] end # |