Skip to content

Commit 70b114b

Browse files
authored
Merge pull request #2208 from hvitved/csharp/codeql/no-bundled-nuget
Approved by p0
2 parents 30a9078 + 8a08038 commit 70b114b

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)