Respond to PR feedback.

This commit is contained in:
Eric Erhardt 2016-10-17 21:00:48 -05:00
parent b32aedde5a
commit 1b6502848e

View file

@ -20,6 +20,7 @@ namespace Microsoft.DotNet.Tools.Run
public IReadOnlyList<string> Args { get; set; }
private List<string> _args;
private bool ShouldBuild => !NoBuild;
public Run3Command()
{
@ -29,7 +30,7 @@ namespace Microsoft.DotNet.Tools.Run
{
Initialize();
if (!NoBuild)
if (ShouldBuild)
{
EnsureProjectIsBuilt();
}