Skip to content

Commit

Permalink
fix progress bar
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev committed Nov 30, 2023
1 parent fdf886d commit 0366aa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion policy/scan/local_scanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func (s *LocalScanner) distributeJob(job *Job, ctx context.Context, upstream *up
var multiprogress progress.MultiProgress
if isatty.IsTerminal(os.Stdout.Fd()) && !s.disableProgressBar && !strings.EqualFold(logger.GetLevel(), "debug") && !strings.EqualFold(logger.GetLevel(), "trace") {
var err error
multiprogress, err = progress.NewMultiProgressBars(progressBarElements, orderedKeys)
multiprogress, err = progress.NewMultiProgressBars(progressBarElements, orderedKeys, progress.WithScore())
if err != nil {
return nil, false, multierr.Wrap(err, "failed to create progress bars")
}
Expand Down

0 comments on commit 0366aa5

Please sign in to comment.