Skip to content

Commit 8a08038

Browse files
committed
C#: Use system-nuget in Autobuilder when SEMMLE_PLATFORM_TOOLS is not set
1 parent 8839bdd commit 8a08038

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

csharp/autobuilder/Semmle.Autobuild/MsBuildRule.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public BuildScript Analyse(Autobuilder builder, bool auto)
3737
}
3838

3939
var nuget =
40-
builder.CodeQLExtractorCSharpRoot != null ?
41-
builder.Actions.PathCombine(builder.CodeQLExtractorCSharpRoot, "tools", "nuget.exe") :
42-
builder.Actions.PathCombine(builder.SemmlePlatformTools, "csharp", "nuget", "nuget.exe");
40+
builder.SemmlePlatformTools != null ?
41+
builder.Actions.PathCombine(builder.SemmlePlatformTools, "csharp", "nuget", "nuget.exe") :
42+
"nuget";
4343

4444
var ret = BuildScript.Success;
4545

0 commit comments

Comments
 (0)