Skip to content

Commit 5de8d91

Browse files
committed
C#: Address review comments.
1 parent e19c775 commit 5de8d91

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

csharp/autobuilder/Semmle.Autobuild.Shared/MsBuildRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private static BuildScript DownloadNugetExe<TAutobuildOptions>(IAutobuilder<TAut
191191
})
192192
&
193193
BuildScript.DownloadFile(
194-
FileUtils.nugetExeUrl,
194+
FileUtils.NugetExeUrl,
195195
path,
196196
e => builder.Log(Severity.Warning, $"Failed to download 'nuget.exe': {e.Message}"))
197197
&

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private string DownloadNugetExe(string sourceDir)
8383
progressMonitor.LogInfo("Attempting to download nuget.exe");
8484
try
8585
{
86-
FileUtils.DownloadFile(FileUtils.nugetExeUrl, nuget);
86+
FileUtils.DownloadFile(FileUtils.NugetExeUrl, nuget);
8787
progressMonitor.LogInfo($"Downloaded nuget.exe to {nuget}");
8888
return nuget;
8989
}

csharp/extractor/Semmle.Util/FileUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Semmle.Util
1010
{
1111
public static class FileUtils
1212
{
13-
public const string nugetExeUrl = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe";
13+
public const string NugetExeUrl = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe";
1414

1515
public static string ConvertToWindows(string path)
1616
{

0 commit comments

Comments
 (0)