We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3aa6a33 commit bb0f7faCopy full SHA for bb0f7fa
src/flux/cli.py
@@ -223,7 +223,7 @@ async def _apply(
223
) as runner:
224
await _print_apply_report(runner=runner, n=n)
225
if not auto_approve:
226
- if not Confirm("Apply these migrations?"):
+ if not Confirm.ask("Apply these migrations?"):
227
raise typer.Exit(1)
228
await runner.apply_migrations(n=n)
229
@@ -263,7 +263,7 @@ async def _rollback(
263
264
await _print_rollback_report(runner=runner, n=n)
265
266
- if not Confirm("Undo these migrations?"):
+ if not Confirm.ask("Undo these migrations?"):
267
268
269
await runner.rollback_migrations(n=n)
0 commit comments