Skip to content

Commit

Permalink
[App] Change overwrite to True (#16009)
Browse files Browse the repository at this point in the history
Co-authored-by: thomas <[email protected]>
  • Loading branch information
tchaton and thomas authored Dec 20, 2022
1 parent 8b68e20 commit 085c6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightning_app/cli/lightning_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def _run_app(

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

0 comments on commit 085c6b3

Please sign in to comment.