mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-08 18:06:34 +00:00
Add editorconfig, fix issues
This commit is contained in:
@@ -193,7 +193,7 @@ namespace ProtectionScan.Features
|
||||
/// <param name="protections">Dictionary of protections found, if any</param>
|
||||
private void WriteProtectionResults(string path, Dictionary<string, List<string>> protections)
|
||||
{
|
||||
if (protections == null)
|
||||
if (protections is null)
|
||||
{
|
||||
Console.WriteLine($"No protections found for {path}");
|
||||
return;
|
||||
@@ -250,7 +250,7 @@ namespace ProtectionScan.Features
|
||||
/// <param name="protections">Dictionary of protections found, if any</param>
|
||||
private void WriteProtectionResultJson(string path, Dictionary<string, List<string>> protections)
|
||||
{
|
||||
if (protections == null)
|
||||
if (protections is null)
|
||||
{
|
||||
Console.WriteLine($"No protections found for {path}");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user