We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 844a681 commit 00cb1abCopy full SHA for 00cb1ab
src/js/scheduled.mjs
@@ -69,7 +69,8 @@ const getStars = async() => {
69
// called for every repo in libraries and tools
70
const getRepo = async(repoName) => await request(`https://api.github.com/repos/${repoName}`)
71
const getRepoName = (url) => {
72
- const parts = url.split('github.com/')[1].split('/')
+ const cleanUrl = url.split('#')[0]
73
+ const parts = cleanUrl.split('github.com/')[1].split('/')
74
return `${parts[0]}/${parts[1]}`
75
}
76
const repos = [...libraries(), ...tools()]
0 commit comments