Fixes non-interactive progress bars from rendering little info

If any task was not-started or finishes then everything stops rendering. I suspect this worked ok but wasn't noticed until we introduced the indeterminate progress task that starts off not-started which caused everything to bail early in the demos.
This commit is contained in:
Phil Scott 2021-05-21 20:57:01 -04:00 committed by Patrik Svensson
parent 91a0be86a3
commit 69fdae70c0

View File

@ -33,7 +33,7 @@ namespace Spectre.Console
{ {
if (!task.IsStarted || task.IsFinished) if (!task.IsStarted || task.IsFinished)
{ {
return; continue;
} }
hasStartedTasks = true; hasStartedTasks = true;