in scripts/sync-team.js [39:52]
async getContributors (page= 1, per_page= 100, extraContributors = [], list = []) {
await axios.get(`https://api.github.com/repos/apache/inlong/contributors?page=${page}&per_page=${per_page}`).then(result =>{
let data = result.data;
list.push(...data);
if(data.length === per_page) {
page++;
this.getContributors(page, per_page, extraContributors, list);
}else {
const repoContributors = [...list, ...extraContributors];
this.writeFile(this.contributorsFile, repoContributors);
console.log('writing to contributors succeeded');
}
});
}