Skip to content

Commit 5410ef4

Browse files
tchatonthomas
authored andcommitted
[App] Change overwrite to True (#16009)
Co-authored-by: thomas <[email protected]>
1 parent eef98c8 commit 5410ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning_app/cli/lightning_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def _run_app(
234234

235235
if not os.path.exists(file):
236236
original_file = file
237-
file = cmd_install.gallery_apps_and_components(file, True, "latest", overwrite=False) # type: ignore[assignment] # noqa E501
237+
file = cmd_install.gallery_apps_and_components(file, True, "latest", overwrite=True) # type: ignore[assignment] # noqa E501
238238
if file is None:
239239
click.echo(f"The provided entrypoint `{original_file}` doesn't exist.")
240240
sys.exit(1)

0 commit comments

Comments
 (0)