Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Donnie Goodson <49205731+donnie-msft@users.noreply.github.com>
  • Loading branch information
Fernando Aguilar and donnie-msft committed Oct 21, 2022
1 parent 47c66e8 commit 388bf42
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/NuGet.Clients/NuGet.CommandLine/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ private Assembly CurrentDomain_ResourceResolve(object sender, ResolveEventArgs a
ManifestResourceInfo resource = NuGetExeAssembly.GetManifestResourceInfo(args.Name);
if (resource != null)
{
// Return nuget.exe assembly, since it contains the requested resource by nuget.restources assembly
// Return nuget.exe assembly, since it contains the requested resource by NuGet.Resources assembly
returnedResource = NuGetExeAssembly;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/NuGet.Core/NuGet.CommandLine.XPlat/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public static int MainInternal(string[] args, CommandOutputLogger log)
}
else
{
CLILanguageOverrider languageOverrider = new CLILanguageOverrider(log, new LanguageEnvironmentVariable[]
var languageOverrider = new CLILanguageOverrider(log, new LanguageEnvironmentVariable[]
{
// DOTNET_CLI_UI_LANGUAGE=<culture name> is the main way for users to customize the CLI's UI language.
new LanguageEnvironmentVariable("DOTNET_CLI_UI_LANGUAGE", LanguageEnvironmentVariable.GetCultureFromName, LanguageEnvironmentVariable.CultureToName),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void HelpCommand_Help_ContainsLocalizedOption()
[CIOnlyFact] // This test needs a fully localized build
public void HelpCommand_OverridesLanguageInSpanish_PrintsOutputInSpanish()
{
string clientCertsDescriptionSpanish = "Proporciona la capacidad de administrar la lista de certificados de cliente ubicados en archivos NuGet.config";
var clientCertsDescriptionSpanish = "Proporciona la capacidad de administrar la lista de certificados de cliente ubicados en archivos NuGet.config";

// Arrange
string nugetexe = Util.GetNuGetExePath();
Expand Down

0 comments on commit 388bf42

Please sign in to comment.