mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 13:36:29 +00:00
fix: trim nextLink
before slicing (#309)
fix: trim `nextLink` before slicing
This commit is contained in:
parent
e1fd794ef7
commit
5df6b47f8a
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ function getNextLink(link) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
return nextLink.split(';')[0].slice(1, -1)
|
return nextLink.split(';')[0].trim().slice(1, -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
function getContributorsPage(githubUrl, optionalPrivateToken) {
|
function getContributorsPage(githubUrl, optionalPrivateToken) {
|
||||||
|
|
Loading…
Reference in a new issue