mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 00:37:51 +00:00
fix: removed unnecessary requests while removing apps
This commit is contained in:
parent
d4ae743d10
commit
49900ce74b
@ -123,7 +123,8 @@ class Bench(Base, Validator):
|
|||||||
from bench.app import App
|
from bench.app import App
|
||||||
|
|
||||||
self.validate_app_uninstall(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.apps.sync()
|
||||||
# self.build() - removed because it seems unnecessary
|
# self.build() - removed because it seems unnecessary
|
||||||
self.reload()
|
self.reload()
|
||||||
|
Loading…
Reference in New Issue
Block a user