-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor tweaks in [github] auth code #1862
Conversation
Generated by 🚫 dangerJS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks good to me! 👍
lib/token-pool.js
Outdated
@@ -219,6 +219,12 @@ class TokenPool { | |||
this.fifoQueue.forEach(visit); | |||
this.priorityQueue.forEach(visit); | |||
} | |||
|
|||
allValidTokenIds() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple code, but adding a small test to our existing suite wouldn't hurt! 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
if (allReleases === undefined) { | ||
apiUrl = apiUrl + '/latest'; | ||
} | ||
var badgeData = getBadgeData('release', data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm unsure how this change is relevant to this pull request?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I came across it because it’s in the middle of a github badge affected by #1861.
# Conflicts: # lib/token-pool.spec.js # lib/token-provider.js # lib/token-provider.spec.js
These were cherry-picked from #1205.