Skip to content

Commit

Permalink
fix: removed unnecessary requests while removing apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Aradhya-Tripathi committed May 4, 2022
1 parent d4ae743 commit 49900ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bench/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def uninstall(self, app):
from bench.app import App

self.validate_app_uninstall(app)
self.apps.remove(App(app, bench=self, to_clone=False))
path_to_app = os.path.join(self.name, "apps", app)
self.apps.remove(App(path_to_app, bench=self, to_clone=False))
self.apps.sync()
# self.build() - removed because it seems unnecessary
self.reload()
Expand Down

0 comments on commit 49900ce

Please sign in to comment.