fix(base): fix typo

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-05-07 16:54:51 +02:00
parent f945d4dcdb
commit e327524d91
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -31,7 +31,7 @@ class RankedTree {
let edges = [];
while (!q.isEmpty()) {
let node = q.dequeue();
if (!q) {
if (!node) {
continue;
}