mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
C#: Download nuget.exe to the source directory in case it is not installed.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Semmle.Util.Logging;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Semmle.Util;
|
||||
using Semmle.Util.Logging;
|
||||
|
||||
namespace Semmle.Autobuild.Shared
|
||||
{
|
||||
@@ -190,7 +191,7 @@ namespace Semmle.Autobuild.Shared
|
||||
})
|
||||
&
|
||||
BuildScript.DownloadFile(
|
||||
"https://dist.nuget.org/win-x86-commandline/latest/nuget.exe",
|
||||
FileUtils.nugetExeUrl,
|
||||
path,
|
||||
e => builder.Log(Severity.Warning, $"Failed to download 'nuget.exe': {e.Message}"))
|
||||
&
|
||||
|
||||
Reference in New Issue
Block a user