diff options
Diffstat (limited to 'lib/chef/environment.rb')
-rw-r--r-- | lib/chef/environment.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/environment.rb b/lib/chef/environment.rb index aa6d756737..b286dad4e2 100644 --- a/lib/chef/environment.rb +++ b/lib/chef/environment.rb @@ -170,7 +170,7 @@ class Chef unless params[:cookbook_version].nil? params[:cookbook_version].each do |index, cookbook_constraint_spec| - unless (cookbook_constraint_spec.nil? || cookbook_constraint_spec.size == 0) + unless cookbook_constraint_spec.nil? || cookbook_constraint_spec.size == 0 valid = valid && update_cookbook_constraint_from_param(index, cookbook_constraint_spec) end end |