Skip to content

Commit f067304

Browse files
committed
Minor cleanup from last commit
1 parent d9fa073 commit f067304

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ProtectionScan/Features/MainFeature.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,10 @@ private void WriteProtectionResultJson(string path, Dictionary<string, List<stri
332332
/// <param name="nestedDictionary">File or directory path</param>
333333
/// <param name="path">The "key" for the given protection entry, already trimmed of its base path</param>
334334
/// <param name="protections">The scanned protection(s) for a given file</param>
335-
public static void InsertNode(Dictionary<string, object> nestedDictionary, string path, string[] protections, List<(Dictionary<string, object>, string, string[])> modifyNodeList)
335+
private static void InsertNode(Dictionary<string, object> nestedDictionary,
336+
string path,
337+
string[] protections,
338+
List<(Dictionary<string, object>, string, string[])> modifyNodeList)
336339
{
337340
var current = nestedDictionary;
338341
var pathParts = path.Split(Path.DirectorySeparatorChar, StringSplitOptions.RemoveEmptyEntries);

0 commit comments

Comments
 (0)