Skip to content

Commit

Permalink
Fix Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
prom3theu5 committed Jan 8, 2024
1 parent ddf6dd9 commit 5173313
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,13 @@ public override async Task<int> ExecuteAsync(CommandContext context, GenerateSet
[
new TaskDescriptionColumn(),
new ProgressBarColumn(),
new ElapsedTimeColumn(),
new SpinnerColumn(),
])
.Start(
context =>
{
var gatherTask = context.AddTask("[blue]Reading schema[/]", autoStart: false).IsIndeterminate();
var gatherTask = context.AddTask("[blue]Reading schema[/]").IsIndeterminate();
data = provider.ReadSchema(settings.ConnectionString);
gatherTask.Value(100).StopTask();
});
Expand Down

0 comments on commit 5173313

Please sign in to comment.