Fix oversight where Scanner.cs won't scan for files if an archive extracts to one or more directories (#397)

* Scanner.cs won't scan for files if an archive extracts to a directory

* use fsentries
This commit is contained in:
HeroponRikiBestest
2025-11-29 12:48:47 -07:00
committed by GitHub
parent 05bddd6005
commit c2368661cb

View File

@@ -378,7 +378,7 @@ namespace BinaryObjectScanner
_ = extractable.Extract(tempPath, _includeDebug);
// Check if any files extracted
if (IOExtensions.SafeGetFiles(tempPath).Length > 0)
if (IOExtensions.SafeGetFileSystemEntries(tempPath).Length > 0)
{
// Scan the output path
var subProtections = GetProtectionsImpl(tempPath, depth + 1);