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 475aeb3..0bfad9b 100644
--- a/lib/rubygems/commands/check_command.rb
+++ b/lib/rubygems/commands/check_command.rb
@@ -71,7 +71,7 @@ class Gem::Commands::CheckCommand < Gem::Command
say "Verifying gem: '#{gem_name}'"
begin
Gem::Validator.new.verify_gem_file(gem_name)
- rescue Exception => e
+ rescue Exception
alert_error "#{gem_name} is invalid."
end
end