From a8bb07ce14b652eeca88adc55f3f42de455a04fe Mon Sep 17 00:00:00 2001 From: Jelle De Loecker Date: Wed, 11 Sep 2024 15:25:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Skip=20undrying=20null=20setting?= =?UTF-8?q?=20groups?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/setting.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/core/setting.js b/lib/core/setting.js index d05c0b7..082ee4b 100644 --- a/lib/core/setting.js +++ b/lib/core/setting.js @@ -477,6 +477,11 @@ Group.setStatic(function unDry(obj, cloned) { child; for (child of children) { + + if (!child) { + continue; + } + result.children.set(child.name, child); child.group = result; }