diff --git a/src/formats/Data/DataCenterExtensions.cs b/src/formats/Data/DataCenterExtensions.cs index 544beab..d287658 100644 --- a/src/formats/Data/DataCenterExtensions.cs +++ b/src/formats/Data/DataCenterExtensions.cs @@ -168,6 +168,9 @@ public static IEnumerable DescendantsAt(this DataCenterNode node void Evaluate(DataCenterNode node, ReadOnlySpan path) { + if (!node.HasChildren) + return; + var name = path[0]; var remaining = path[1..];