Simplify construction and access in Scanner

This commit is contained in:
Matt Nadareski
2022-05-01 14:11:09 -07:00
parent 802734b515
commit aac3c391db
2 changed files with 20 additions and 19 deletions

View File

@@ -63,12 +63,7 @@ namespace Test
}
// Create scanner for all paths
var scanner = new Scanner(p)
{
IncludeDebug = debug,
ScanArchives = archives,
ScanPackers = packers,
};
var scanner = new Scanner(archives, packers, debug, p);
// Loop through the input paths
foreach (string inputPath in inputPaths)