Skip to content

Commit

Permalink
fix: queryContributors function typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Feb 7, 2022
1 parent ba777bf commit 4ae4f03
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<!--
🐞 Bug fix
🚀 New feature
💄 Perf
📝 Docs
⚡️ Code style
🛠 refactor
-->

# Changelog

## v1.2.1

- 🐞 fix: `queryContributors` function typo.

## v1.2.0

`2021.05.31`
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4ae4f03

Please sign in to comment.