Dont ask to create PAT if one already exists
This commit is contained in:
parent
5b7921ff68
commit
06f415e819
@ -50,8 +50,7 @@ module GitHub
|
|||||||
@github_message = github_message
|
@github_message = github_message
|
||||||
super <<~EOS
|
super <<~EOS
|
||||||
GitHub API Error: #{github_message}
|
GitHub API Error: #{github_message}
|
||||||
Try again in #{pretty_ratelimit_reset(reset)}, or:
|
Try again in #{pretty_ratelimit_reset(reset)}#{!API.credentials ? ", or:\n" + CREATE_GITHUB_PAT_MESSAGE : ""}
|
||||||
#{CREATE_GITHUB_PAT_MESSAGE}
|
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user