lib/rubygems/commands/check_command.rb in rubygems-update-2.7.11 vs lib/rubygems/commands/check_command.rb in rubygems-update-3.0.0
- old
+ new
@@ -42,10 +42,10 @@
say 'Checking gems...'
say
gems = get_all_gem_names rescue []
Gem::Validator.new.alien(gems).sort.each do |key, val|
- unless val.empty? then
+ unless val.empty?
say "#{key} has #{val.size} problems"
val.each do |error_entry|
say " #{error_entry.path}:"
say " #{error_entry.problem}"
end