Skip to content

Commit

Permalink
fix: bug introduced by 591add
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Mar 1, 2021
1 parent 8669411 commit b9c9297
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/graphEntry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit b9c9297

Please sign in to comment.