Skip to content

Commit 7cea2ad

Browse files
mbgmichaelnebel
andauthored
Apply suggestions from code review
Co-authored-by: Michael Nebel <[email protected]>
1 parent 4448369 commit 7cea2ad

File tree

1 file changed

+1
-2
lines changed
  • csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching

1 file changed

+1
-2
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNet.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.IO;
44
using System.Linq;
5-
using System.Text;
65
using Newtonsoft.Json.Linq;
76

87
using Semmle.Util;
@@ -77,7 +76,7 @@ private string GetRestoreArgs(RestoreSettings restoreSettings)
7776
args += " /p:EnableWindowsTargeting=true";
7877
}
7978

80-
if (restoreSettings.ExtraArgs != null)
79+
if (restoreSettings.ExtraArgs is not null)
8180
{
8281
args += $" {restoreSettings.ExtraArgs}";
8382
}

0 commit comments

Comments
 (0)