Print JSON summary in all error cases

This commit is contained in:
Dark Dragon committed 2025-02-05 22:08:06 +01:00
1 parent 7cc1aa0cd4
commit 49a411f7ac
5 files changed
+31 -23

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ func applyMigrations(ctx context.Context, opts MigrateOptions, gopts GlobalOptio
// the repository is already locked
checkGopts.NoLock = true
err = runCheck(ctx, checkOptions, checkGopts, []string{}, term)
_, err = runCheck(ctx, checkOptions, checkGopts, []string{}, term)
if err != nil {
return err
}