diff --git a/ProtectionScan/Features/MainFeature.cs b/ProtectionScan/Features/MainFeature.cs
index 6995fb48..263f5bbc 100644
--- a/ProtectionScan/Features/MainFeature.cs
+++ b/ProtectionScan/Features/MainFeature.cs
@@ -332,7 +332,10 @@ namespace ProtectionScan.Features
/// File or directory path
/// The "key" for the given protection entry, already trimmed of its base path
/// The scanned protection(s) for a given file
- public static void InsertNode(Dictionary nestedDictionary, string path, string[] protections, List<(Dictionary, string, string[])> modifyNodeList)
+ private static void InsertNode(Dictionary nestedDictionary,
+ string path,
+ string[] protections,
+ List<(Dictionary, string, string[])> modifyNodeList)
{
var current = nestedDictionary;
var pathParts = path.Split(Path.DirectorySeparatorChar, StringSplitOptions.RemoveEmptyEntries);