Skip to content

Commit

Permalink
Delete nullifying of access token
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmytrenko-I committed Apr 8, 2022
1 parent a166798 commit d124f3b
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 d124f3b

Please sign in to comment.