Skip to content

Commit bb0f7fa

Browse files
committed
Fix
1 parent 3aa6a33 commit bb0f7fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/flux/cli.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ async def _apply(
223223
) as runner:
224224
await _print_apply_report(runner=runner, n=n)
225225
if not auto_approve:
226-
if not Confirm("Apply these migrations?"):
226+
if not Confirm.ask("Apply these migrations?"):
227227
raise typer.Exit(1)
228228
await runner.apply_migrations(n=n)
229229

@@ -263,7 +263,7 @@ async def _rollback(
263263
) as runner:
264264
await _print_rollback_report(runner=runner, n=n)
265265
if not auto_approve:
266-
if not Confirm("Undo these migrations?"):
266+
if not Confirm.ask("Undo these migrations?"):
267267
raise typer.Exit(1)
268268

269269
await runner.rollback_migrations(n=n)

0 commit comments

Comments
 (0)