Respond to PR feedback.
This commit is contained in:
parent
b32aedde5a
commit
1b6502848e
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue