diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-07-16 14:33:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 14:33:39 -0700 |
commit | c94e1675577a6992168963508902aea401c7ffcd (patch) | |
tree | 57a7bb214794ed2b7cab2a80e81ae30769387a6d | |
parent | d1e56863bf4bd1e46813b4e98918efaeeff02f08 (diff) | |
parent | 7d8660c67f2a48bc5623a258bdfa58b0a5ad6180 (diff) | |
download | chef-c94e1675577a6992168963508902aea401c7ffcd.tar.gz |
Merge pull request #7477 from chef/lcg/shell-out-regression
add back clean_array API
-rw-r--r-- | lib/chef/mixin/shell_out.rb | 5 |
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. |