Skip to content

Commit 9f6c081

Browse files
committed
[FIX] migration up tests
1 parent 186a2cb commit 9f6c081

File tree

1 file changed

+3
-0
lines changed
  • internal/migration/up

1 file changed

+3
-0
lines changed

internal/migration/up/up.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ func GetPendingMigrations(ctx context.Context, includeAll bool, conn *pgx.Conn,
4646
}
4747
utils.CmdSuggestion = suggestIgnoreFlag(diff)
4848
}
49+
if err != nil {
50+
return diff, err
51+
}
4952
repeatableMigrations, err := migration.ListRepeatableMigrations(utils.MigrationsDir, afero.NewIOFS(fsys))
5053
if err != nil {
5154
return nil, err

0 commit comments

Comments
 (0)