lib/travis/cli/token.rb in travis-1.4.0 vs lib/travis/cli/token.rb in travis-1.5.0
- old
+ new
@@ -2,10 +2,10 @@
module Travis
module CLI
class Token < ApiCommand
def run
- error "not logged in, please run #{command("login#{endpoint_option}")}" if access_token.nil?
+ authenticate
say access_token, "Your access token is %s"
end
end
end
end