From b9c929727182e2101fb3747e0e82982450ffd9f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Wiedemann?= Date: Mon, 1 Mar 2021 09:34:36 +0000 Subject: [PATCH] fix: bug introduced by 591add --- src/graphEntry.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/graphEntry.ts b/src/graphEntry.ts index c003cbd..6fe9e1f 100644 --- a/src/graphEntry.ts +++ b/src/graphEntry.ts @@ -411,8 +411,9 @@ export default class GraphEntry { }); buckets.pop(); while ( - (buckets.length > 0 && buckets[buckets.length - 1].data.length === 0) || - (buckets[buckets.length - 1].data.length === 1 && buckets[buckets.length - 1].data[0][1] === null) + buckets.length > 0 && + (buckets[buckets.length - 1].data.length === 0 || + (buckets[buckets.length - 1].data.length === 1 && buckets[buckets.length - 1].data[0][1] === null)) ) { buckets.pop(); }