move NewProgressPrinter to ui package

This commit is contained in:
Michael Eischer committed 2025-10-03 18:55:46 +02:00
1 parent ff5a0cc851
commit e753941ad3
39 files changed
+151 -148

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ func applyMigrations(ctx context.Context, opts MigrateOptions, gopts GlobalOptio
}
func runMigrate(ctx context.Context, opts MigrateOptions, gopts GlobalOptions, args []string, term ui.Terminal) error {
printer := newTerminalProgressPrinter(false, gopts.verbosity, term)
printer := ui.NewProgressPrinter(false, gopts.verbosity, term)
ctx, repo, unlock, err := openWithExclusiveLock(ctx, gopts, false, printer)
if err != nil {