lib/travis/cli/logout.rb in travis-1.11.1 vs lib/travis/cli/logout.rb in travis-1.12.0
- old
+ new
@@ -1,15 +1,17 @@
+# frozen_string_literal: true
+
require 'travis/cli'
module Travis
module CLI
class Logout < ApiCommand
- description "deletes the stored API token"
+ description 'deletes the stored API token'
def run
session.logout
endpoint_config.delete('access_token')
- success("Successfully logged out!")
+ success('Successfully logged out!')
end
end
end
end