Fix invocation of scannable classes

This commit is contained in:
Matt Nadareski
2022-12-27 22:11:01 -08:00
parent 135c0b6d38
commit 0cded076e4

View File

@@ -73,7 +73,7 @@ namespace BurnOutSharp.FileType
{
if (file != null && !string.IsNullOrEmpty(protection))
{
var subProtections = scannable.Scan(scanner, null, file);
var subProtections = scannable.Scan(scanner, file);
PrependToKeys(subProtections, file);
AppendToDictionary(protections, subProtections);
}
@@ -96,7 +96,7 @@ namespace BurnOutSharp.FileType
{
if (file != null && !string.IsNullOrEmpty(protection))
{
var subProtections = scannable.Scan(scanner, null, file);
var subProtections = scannable.Scan(scanner, file);
PrependToKeys(subProtections, file);
AppendToDictionary(protections, subProtections);
}
@@ -119,7 +119,7 @@ namespace BurnOutSharp.FileType
{
if (file != null && !string.IsNullOrEmpty(protection))
{
var subProtections = scannable.Scan(scanner, null, file);
var subProtections = scannable.Scan(scanner, file);
PrependToKeys(subProtections, file);
AppendToDictionary(protections, subProtections);
}