lib/uffizzi/cli/logout.rb in uffizzi-cli-0.5.2 vs lib/uffizzi/cli/logout.rb in uffizzi-cli-0.6.0

- old
+ new

@@ -12,11 +12,11 @@ end def run return Uffizzi.ui.say('You are not logged in') unless Uffizzi::AuthHelper.signed_in? - hostname = ConfigFile.read_option(:hostname) - destroy_session(hostname) + server = ConfigFile.read_option(:server) + destroy_session(server) ConfigFile.delete Uffizzi.ui.say('You have been successfully logged out') end end