diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-04-25 14:32:35 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-04-25 14:32:35 -0700 |
commit | bc2d5fedc18d56c1b22700a28c07dda960010964 (patch) | |
tree | dda8e9cefe224b50e4382719e46bd0de6b4f164f /lib/chef/mixin | |
parent | c22752ad04a77111db7301b23e995408a82775eb (diff) | |
download | chef-bc2d5fedc18d56c1b22700a28c07dda960010964.tar.gz |
remove duping the args hashlcg/shell_out_syntax
we only ever did this in order to mutate the options and with the
**options syntax we don't need to do this anymore.
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r-- | lib/chef/mixin/shell_out.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/mixin/shell_out.rb b/lib/chef/mixin/shell_out.rb index be3446d67e..f20e0b61cb 100644 --- a/lib/chef/mixin/shell_out.rb +++ b/lib/chef/mixin/shell_out.rb @@ -29,7 +29,6 @@ class Chef # we use 'en_US.UTF-8' by default because we parse localized strings in English as an API and # generally must support UTF-8 unicode. def shell_out(*args, **options) - args = args.dup options = options.dup env_key = options.has_key?(:env) ? :env : :environment options[env_key] = { |