diff options
Diffstat (limited to 'lib/rubygems/commands/signout_command.rb')
-rw-r--r-- | lib/rubygems/commands/signout_command.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/commands/signout_command.rb b/lib/rubygems/commands/signout_command.rb index 2452e8cae1..2d7329c590 100644 --- a/lib/rubygems/commands/signout_command.rb +++ b/lib/rubygems/commands/signout_command.rb @@ -19,9 +19,9 @@ class Gem::Commands::SignoutCommand < Gem::Command def execute credentials_path = Gem.configuration.credentials_path - if !File.exist?(credentials_path) then + if !File.exist?(credentials_path) alert_error 'You are not currently signed in.' - elsif !File.writable?(credentials_path) then + elsif !File.writable?(credentials_path) alert_error "File '#{Gem.configuration.credentials_path}' is read-only."\ ' Please make sure it is writable.' else |