From 37ac383458e5aa093e3a462dd4edd13adc68f946 Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 12 Dec 2022 10:09:21 +0000 Subject: [PATCH] update --- src/lightning_app/cli/lightning_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lightning_app/cli/lightning_cli.py b/src/lightning_app/cli/lightning_cli.py index 87b0ef91755b1..385ecde76f5f8 100644 --- a/src/lightning_app/cli/lightning_cli.py +++ b/src/lightning_app/cli/lightning_cli.py @@ -236,7 +236,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)