Skip to content

Commit

Permalink
fix: fixed thrown error message (#280)
Browse files Browse the repository at this point in the history
This accidentally got in as I was copypasting code as part of #277
  • Loading branch information
favna committed Aug 16, 2020
1 parent 74f3b71 commit 374d076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repo/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 374d076

Please sign in to comment.