summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/check_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/check_command.rb')
-rw-r--r--lib/rubygems/commands/check_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/check_command.rb b/lib/rubygems/commands/check_command.rb
index 818cb05f55..7905b8ab69 100644
--- a/lib/rubygems/commands/check_command.rb
+++ b/lib/rubygems/commands/check_command.rb
@@ -44,7 +44,7 @@ class Gem::Commands::CheckCommand < Gem::Command
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}:"