Skip to content

Commit 7fa41ba

Browse files
committed
Revert extra check, forgot about un-wrappered types
1 parent e1a659a commit 7fa41ba

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

BinaryObjectScanner/Scanner.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,11 +304,6 @@ private ProtectionDictionary GetInternalProtections(string fileName, Stream stre
304304

305305
// Get the wrapper, if possible
306306
var wrapper = WrapperFactory.CreateWrapper(fileType, stream);
307-
if (wrapper == null)
308-
{
309-
if (_includeDebug) Console.WriteLine($"{fileName} not a scannable file type, skipping...");
310-
return [];
311-
}
312307

313308
#region Non-Archive File Types
314309

0 commit comments

Comments
 (0)