Skip to content

Commit bdbcfc8

Browse files
🎨 Auto format
1 parent 6e9f196 commit bdbcfc8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

‎src/fastapi_cloud_cli/commands/deploy.py‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,9 +317,13 @@ def _configure_app(toolkit: RichToolkit, path_to_deploy: Path) -> AppConfig:
317317
options=[Option({"name": app.slug, "value": app}) for app in apps],
318318
)
319319

320-
app_name = selected_app.slug if selected_app else toolkit.input(
321-
title="What's your app name?",
322-
default=_get_app_name(path_to_deploy),
320+
app_name = (
321+
selected_app.slug
322+
if selected_app
323+
else toolkit.input(
324+
title="What's your app name?",
325+
default=_get_app_name(path_to_deploy),
326+
)
323327
)
324328

325329
toolkit.print_line()

0 commit comments

Comments
 (0)