Skip to content

Commit

Permalink
fixed stylecop warnings regarding naming
Browse files Browse the repository at this point in the history
  • Loading branch information
nils-a committed Jul 20, 2024
1 parent c20624a commit 1ed17c0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace Cake.DotNetVersionDetector
/// </summary>
public class DotNetVersionDetectorRunner : Tool<DotNetVersionDetectorSettings>
{
private readonly ICakeEnvironment _environment;
private readonly ICakeEnvironment environment;

/// <summary>
/// Initializes a new instance of the <see cref="DotNetVersionDetectorRunner" /> class.
Expand All @@ -23,7 +23,7 @@ public class DotNetVersionDetectorRunner : Tool<DotNetVersionDetectorSettings>
public DotNetVersionDetectorRunner(IFileSystem fileSystem, ICakeEnvironment environment, IProcessRunner processRunner, IToolLocator toolLocator)
: base(fileSystem, environment, processRunner, toolLocator)
{
_environment = environment;
this.environment = environment;
}

/// <summary>
Expand Down Expand Up @@ -65,7 +65,7 @@ private ProcessArgumentBuilder GetArguments(FilePath outputFilePath, DotNetVersi
{
var builder = new ProcessArgumentBuilder();

builder.AppendQuoted(outputFilePath.MakeAbsolute(_environment).FullPath);
builder.AppendQuoted(outputFilePath.MakeAbsolute(environment).FullPath);

if (settings.Extended)
{
Expand Down

0 comments on commit 1ed17c0

Please sign in to comment.