Skip to content

Commit

Permalink
Merge pull request #820 from travis-ci/id_allow_to_generate_sshkey
Browse files Browse the repository at this point in the history
Delete nullifying of access token
  • Loading branch information
travis-architect authored Apr 26, 2022
2 parents a166798 + d124f3b commit 3c531ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/travis/cli/sshkey.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ def generate_key
github.with_token do |token|
access_token = github_auth(token)
end
session.access_token = nil
unless access_token
raise Travis::Client::GitHubLoginFailed, "all GitHub tokens given were invalid"
end
Expand Down

0 comments on commit 3c531ab

Please sign in to comment.