From 9be37455e6a46ff9c2ab39211fb1c9fb4202d245 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sat, 15 May 2021 10:02:23 +0200 Subject: [PATCH] CircularArray.ts: Consistent check MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/utils/CircularArray.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/CircularArray.ts b/src/utils/CircularArray.ts index 6eaa7026..cb7e3bf5 100644 --- a/src/utils/CircularArray.ts +++ b/src/utils/CircularArray.ts @@ -36,7 +36,7 @@ export class CircularArray extends Array { if (concatenatedCircularArray.length > concatenatedCircularArray.size) { concatenatedCircularArray.splice( 0, - concatenatedCircularArray.length - this.size + concatenatedCircularArray.length - concatenatedCircularArray.size ); } return concatenatedCircularArray; -- 2.34.1