Skip to content

Commit

Permalink
Merge pull request #641 from myrotvorets/renovate/lock-file-maintenance
Browse files Browse the repository at this point in the history
chore(deps): lock file maintenance
  • Loading branch information
myrotvorets-team authored Jan 25, 2024
2 parents fc9ebbb + 2db001c commit 1d70158
Show file tree
Hide file tree
Showing 3 changed files with 382 additions and 570 deletions.
4 changes: 2 additions & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ export default async function promiseChunk<T>(
for (const item of generator()) {
const promise = item.then(
(r: T): T => {
queue.splice(queue.indexOf(promise), 1);
void queue.splice(queue.indexOf(promise), 1);
return r;
},
(e: Error): Error => {
queue.splice(queue.indexOf(promise), 1);
void queue.splice(queue.indexOf(promise), 1);
return e;
},
);
Expand Down
Loading

0 comments on commit 1d70158

Please sign in to comment.