From ccd4c9b0e2fc08984799c1e7955493f5c4483250 Mon Sep 17 00:00:00 2001 From: Marc Paine Date: Sat, 5 Nov 2022 15:13:09 -0700 Subject: [PATCH] Fix build error. --- test/EndToEnd/TelemetryOptOutDefaultTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/EndToEnd/TelemetryOptOutDefaultTests.cs b/test/EndToEnd/TelemetryOptOutDefaultTests.cs index f13724ef0..caba71157 100644 --- a/test/EndToEnd/TelemetryOptOutDefaultTests.cs +++ b/test/EndToEnd/TelemetryOptOutDefaultTests.cs @@ -10,10 +10,10 @@ namespace EndToEnd.Tests [Fact] public void TelemetryOptOutDefaultAttribute() { - var result = new DotnetCommand() + var versionCommand = new DotnetCommand() .ExecuteWithCapturedOutput("--version"); - var sdkVersion = result.StdOut.Trim(); + var sdkVersion = versionCommand.StdOut.Trim(); var dotnetdir = Path.Combine(Path.GetDirectoryName(RepoDirectoriesProvider.DotnetUnderTest), "sdk", sdkVersion); var result = AssemblyInfo.Get(Path.Combine(dotnetdir, "dotnet.dll"), "AssemblyMetadataAttribute");