Skip to content

Commit

Permalink
feat: mimicking get-app behaviour when app is already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Aradhya-Tripathi committed Mar 20, 2022
1 parent ad000f1 commit bbca3e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bench/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,13 @@ def install_resolved_deps(
fg="green" if is_compatible else "red",
)
app.update_app_state()
continue
if click.confirm(
f"Do you wish to clone and install the already installed {prefix}ompatible app"
):
click.secho(f"Removing installed app {app.name}", fg="yellow")
shutil.rmtree(path_to_app)
else:
continue
app.install_resolved_apps(skip_assets=skip_assets, verbose=verbose)


Expand Down

0 comments on commit bbca3e9

Please sign in to comment.