Add editorconfig, fix issues

This commit is contained in:
Matt Nadareski
2026-01-25 17:27:42 -05:00
parent 7058c7a150
commit 0d2f81773d
84 changed files with 407 additions and 244 deletions

View File

@@ -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;