Skip to content

Commit da1133d

Browse files
tchatonthomas
authored andcommitted
[App] Change overwrite to True (#16009)
Co-authored-by: thomas <[email protected]> (cherry picked from commit 085c6b3)
1 parent 716abc9 commit da1133d

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
@@ -233,7 +233,7 @@ def _run_app(
233233

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

0 commit comments

Comments
 (0)