ui: move NewProgressPrinter to ui/progress.NewTerminalPrinter

This commit is contained in:
Michael Eischer
2026-06-13 16:53:54 +02:00
parent c04f3e9d6c
commit e8ed2434cd
45 changed files with 97 additions and 78 deletions
+1 -1
View File
@@ -231,7 +231,7 @@ func runCheck(ctx context.Context, opts CheckOptions, gopts global.Options, args
var printer progress.Printer
if !gopts.JSON {
printer = ui.NewProgressPrinter(gopts.JSON, gopts.Verbosity, term)
printer = progress.NewTerminalPrinter(gopts.JSON, gopts.Verbosity, term)
} else {
printer = newJSONErrorPrinter(term)
}