From 374d07635f4bd9b53e5cf589c85059e658e4d7ec Mon Sep 17 00:00:00 2001 From: Jeroen Claassens Date: Sun, 16 Aug 2020 11:27:40 +0200 Subject: [PATCH] fix: fixed thrown error message (#280) This accidentally got in as I was copypasting code as part of #277 --- src/repo/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repo/github.js b/src/repo/github.js index 990f7baf..ffd83570 100644 --- a/src/repo/github.js +++ b/src/repo/github.js @@ -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 => {