2
0
mirror of https://github.com/tenrok/axios.git synced 2026-05-15 11:59:42 +03:00

style: turn '()=>' into '() =>' (#6324)

Co-authored-by: Jay <jasonsaayman@gmail.com>
This commit is contained in:
Justin Dhillon
2025-11-12 11:49:37 -08:00
committed by GitHub
parent f73474d02c
commit 4d06112452
11 changed files with 29 additions and 29 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ async function getContributors(user, repo, maxCount = 1) {
{ params: { per_page: maxCount } }
)).data;
return Promise.all(contributors.map(async (contributor)=> {
return Promise.all(contributors.map(async (contributor) => {
return {...contributor, ...(await axios.get(
`https://api.github.com/users/${encodeURIComponent(contributor.login)}`
)).data};