diff --git a/CHANGELOG.md b/CHANGELOG.md index 11a3ce3..7b3da23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ + + # Changelog +## v1.2.1 + +- 🐞 fix: `queryContributors` function typo. + ## v1.2.0 `2021.05.31` diff --git a/dist/index.js b/dist/index.js index e7cf1b1..173f54e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9023,7 +9023,7 @@ async function queryContributors(owner, repo, page = 1) { }); if (contributors.length >= 100) { - contributors = contributors.concat(await queryContributions(page + 1)); + contributors = contributors.concat(await queryContributors(page + 1)); } return contributors; diff --git a/src/tool.js b/src/tool.js index 3e811fb..7894c31 100644 --- a/src/tool.js +++ b/src/tool.js @@ -24,7 +24,7 @@ async function queryContributors(owner, repo, page = 1) { }); if (contributors.length >= 100) { - contributors = contributors.concat(await queryContributions(page + 1)); + contributors = contributors.concat(await queryContributors(page + 1)); } return contributors;