From: Jérôme Benoit Date: Sun, 9 Jul 2023 22:04:47 +0000 (+0200) Subject: refactor: incrementation consistency X-Git-Tag: v2.6.13~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e677f6c55e0bb599d8e589a937a928229ecd6fea;p=poolifier.git refactor: incrementation consistency Signed-off-by: Jérôme Benoit --- diff --git a/src/queue.ts b/src/queue.ts index dab9f04c..dba55f1c 100644 --- a/src/queue.ts +++ b/src/queue.ts @@ -91,7 +91,7 @@ export class Queue { } } const value = items[i] - i++ + ++i return { value, done: false