Skip to content

Commit

Permalink
Removes superfluous argument
Browse files Browse the repository at this point in the history
  • Loading branch information
bezoerb committed Nov 10, 2019
1 parent 9a21fdd commit 622bcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function encodeSvg(content) {

async function reduceAsync(array = [], reducer = r => r, initial) {
for (const index of array.keys()) {
initial = await reducer(initial, array[index], index); /* eslint-disable-line no-await-in-loop */
initial = await reducer(initial, array[index]); /* eslint-disable-line no-await-in-loop */
}

return initial;
Expand Down

0 comments on commit 622bcde

Please sign in to comment.