summaryrefslogtreecommitdiff
path: root/lib/chef/mixin/shell_out.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/mixin/shell_out.rb')
-rw-r--r--lib/chef/mixin/shell_out.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/mixin/shell_out.rb b/lib/chef/mixin/shell_out.rb
index f38c6e262d..25a8ee989c 100644
--- a/lib/chef/mixin/shell_out.rb
+++ b/lib/chef/mixin/shell_out.rb
@@ -168,6 +168,11 @@ class Chef
options
end
+ def clean_array(*args)
+ Chef.deprecated(:shell_out, "do not call clean_array directly, just use shell_out with splat args or an array")
+ Chef::Mixin::ShellOut.clean_array(*args)
+ end
+
private
# this SHOULD be used for setting up expectations in rspec, see banner comment at top.