Skip to content

Commit 973b011

Browse files
Fix minor nested json issue (#398)
1 parent c236866 commit 973b011

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ProtectionScan/Features/MainFeature.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ private static void InsertNode(Dictionary<string, object> dict,
345345
if (pathParts.Length == 0)
346346
{
347347
modifyNodeList.Add((dict, path, protections));
348+
dict[path] = new Dictionary<string, object>();
348349
return;
349350
}
350351

0 commit comments

Comments
 (0)