diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-23 11:36:29 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-02-23 11:36:29 -0800 |
commit | f17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1 (patch) | |
tree | c034024fd7fd216dcc3dfd8f0d3fa95ced5a89f6 /lib/chef/shell | |
parent | 271d3e4f91e3d158c9112512ac75d0ca51fc928d (diff) | |
download | chef-f17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1.tar.gz |
remove unused block argumentslcg/chefstyle-perf
Diffstat (limited to 'lib/chef/shell')
-rw-r--r-- | lib/chef/shell/model_wrapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/shell/model_wrapper.rb b/lib/chef/shell/model_wrapper.rb index 403f9479cf..5f2d89d641 100644 --- a/lib/chef/shell/model_wrapper.rb +++ b/lib/chef/shell/model_wrapper.rb @@ -59,7 +59,7 @@ module Shell alias :load :show - def transform(what_to_transform, &block) + def transform(what_to_transform) if what_to_transform == :all objects_to_transform = list_objects else |