From 6f1ea62bc9b9b193d9b1564f99dc0d6dff59609b Mon Sep 17 00:00:00 2001 From: Krzysztof Wicher Date: Thu, 16 Feb 2017 13:56:27 -0800 Subject: [PATCH] rename variable to buildCommand --- src/dotnet/commands/dotnet-build/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dotnet/commands/dotnet-build/Program.cs b/src/dotnet/commands/dotnet-build/Program.cs index 855ba4cca..5a8f9e37a 100644 --- a/src/dotnet/commands/dotnet-build/Program.cs +++ b/src/dotnet/commands/dotnet-build/Program.cs @@ -24,7 +24,7 @@ namespace Microsoft.DotNet.Tools.Build public static BuildCommand FromArgs(string[] args, string msbuildPath = null) { - var ret = new BuildCommand(); + var buildCommand = new BuildCommand(); CommandLineApplication app = new CommandLineApplication(throwOnUnexpectedArg: false); app.Name = "dotnet build"; @@ -105,18 +105,18 @@ namespace Microsoft.DotNet.Tools.Build msbuildArgs.AddRange(app.RemainingArguments); - ret._forwardingApp = new MSBuildForwardingApp(msbuildArgs, msbuildPath); + buildCommand._forwardingApp = new MSBuildForwardingApp(msbuildArgs, msbuildPath); return 0; }); int exitCode = app.Execute(args); - if (ret._forwardingApp == null) + if (buildCommand._forwardingApp == null) { throw new CommandCreationException(exitCode); } - return ret; + return buildCommand; } public static int Run(string[] args)