Skip to content

Missing Total Commits depending on hide_border[I can't comment...] #1968

Locked Answered by rickstaa
APN-Pucky asked this question in Q&A
Discussion options

You must be logged in to vote

@APN-Pucky Thanks for your question. I checked your syntax and everything seems fine because you use hide_border=tru instead of hide_border=true. Everything seems fine. I, therefore, don't thithe hide_border flag causes itlag. The most likely candidate for causing the commits to display as 0 is the include_all_commits flag. If this flag is enabled, we use the totalCommitsFetcher to get all the commits.

const totalCommitsFetcher = async (username) => {
if (!githubUsernameRegex.test(username)) {
logger.log("Invalid username");
return 0;
}
// https://developer.github.com/v3/s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rickstaa
Comment options

Answer selected by rickstaa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1963 on August 24, 2022 10:18.