Skip to content

Commit

Permalink
Fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-van committed Oct 19, 2021
1 parent 7aa9342 commit 0010d28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/forEachLimit.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import mapLimit from './mapLimit.mjs'
*/
async function forEachLimit (iterable, iteratee, concurrency) {
await mapLimit(iterable, async (v, i, t) => {
iteratee(v, i, t)
await iteratee(v, i, t)
}, concurrency)
}

Expand Down

0 comments on commit 0010d28

Please sign in to comment.