mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 13:36:29 +00:00
fix: fixed thrown error message (#280)
This accidentally got in as I was copypasting code as part of #277
This commit is contained in:
parent
74f3b710a6
commit
374d07635f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ function getContributorsPage(githubUrl, optionalPrivateToken) {
|
|||
headers: getFetchHeaders(optionalPrivateToken),
|
||||
}).then(res => {
|
||||
if (res.status === 404 || res.status >= 500) {
|
||||
throw new Error('No contributors found on the GitLab repository')
|
||||
throw new Error('No contributors found on the GitHub repository')
|
||||
}
|
||||
|
||||
return res.json().then(body => {
|
||||
|
|
Loading…
Reference in a new issue