Apply suggestions from code review

Co-authored-by: Michael Nebel <michaelnebel@github.com>
This commit is contained in:
Michael B. Gale
2025-03-25 10:02:29 +00:00
committed by GitHub
parent 4448369323
commit 7cea2addda

View File

@@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Newtonsoft.Json.Linq;
using Semmle.Util;
@@ -77,7 +76,7 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
args += " /p:EnableWindowsTargeting=true";
}
if (restoreSettings.ExtraArgs != null)
if (restoreSettings.ExtraArgs is not null)
{
args += $" {restoreSettings.ExtraArgs}";
}