fix: trim nextLink before slicing (#309)

fix: trim `nextLink` before slicing
This commit is contained in:
Dominic Saadi 2022-09-07 17:31:03 +09:00 committed by GitHub
parent e1fd794ef7
commit 5df6b47f8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,7 @@ function getNextLink(link) {
return null
}
return nextLink.split(';')[0].slice(1, -1)
return nextLink.split(';')[0].trim().slice(1, -1)
}
function getContributorsPage(githubUrl, optionalPrivateToken) {