One-liner to fix issue #110
This commit is contained in:
parent
7cc36c1401
commit
4a948b9098
@ -63,7 +63,9 @@ public static class VkvConvert
|
|||||||
string? current;
|
string? current;
|
||||||
while ((current = reader.ReadLine()?.Trim()) is not null)
|
while ((current = reader.ReadLine()?.Trim()) is not null)
|
||||||
{
|
{
|
||||||
if (current == "}") break;
|
if (string.IsNullOrWhiteSpace(current)) continue;
|
||||||
|
else if (current == "}") break;
|
||||||
|
|
||||||
VkvNode? output = DeserializeNode(reader, options, out string subName, current);
|
VkvNode? output = DeserializeNode(reader, options, out string subName, current);
|
||||||
tree[subName] = output;
|
tree[subName] = output;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user