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 <thomas@thomass-MacBook-Pro.local>
  • Loading branch information
2 people authored and nicolai86 committed Dec 20, 2022
1 parent 2e5b307 commit 3d62918
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 3d62918

Please sign in to comment.