Skip to content

Commit 26887c8

Browse files
use fsentries
1 parent 29b4fe7 commit 26887c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BinaryObjectScanner/Scanner.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ private ProtectionDictionary GetInternalProtections(string fileName, Stream stre
378378
_ = extractable.Extract(tempPath, _includeDebug);
379379

380380
// Check if any files extracted
381-
if (IOExtensions.SafeGetFiles(tempPath).Length > 0 || IOExtensions.SafeGetDirectories(tempPath).Length > 0)
381+
if (IOExtensions.SafeGetFileSystemEntries(tempPath).Length > 0)
382382
{
383383
// Scan the output path
384384
var subProtections = GetProtectionsImpl(tempPath, depth + 1);

0 commit comments

Comments
 (0)