Skip to content

Commit

Permalink
fix: ensure 'trees' command prints when no arguments are provided
Browse files Browse the repository at this point in the history
  • Loading branch information
rdavisau committed Jan 28, 2023
1 parent 9405dbf commit bed257b
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -481,8 +481,10 @@ string IExposeCommands.Identifier
Execute = (_, args) =>
{
var detail = false;
if (args.Any() && bool.TryParse(args[0], out detail))
PrintTrees(detail);
if (args.Any())
bool.TryParse(args[0], out detail);
PrintTrees(detail);
return Task.CompletedTask;
}
Expand Down

0 comments on commit bed257b

Please sign in to comment.