mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
Merge pull request #721 from codingCoffee/app_path
fix(remove_app): use app name instead of app path
This commit is contained in:
commit
b5657c160c
@ -196,7 +196,7 @@ def remove_app(app, bench_path='.'):
|
||||
print("Cannot remove, app is installed on site: {0}".format(site))
|
||||
sys.exit(1)
|
||||
|
||||
exec_cmd(["{0} uninstall -y {1}".format(pip, app_path)])
|
||||
exec_cmd(["{0} uninstall -y {1}".format(pip, app)])
|
||||
remove_from_appstxt(app, bench_path)
|
||||
shutil.rmtree(app_path)
|
||||
run_frappe_cmd("build", bench_path=bench_path)
|
||||
|
Loading…
Reference in New Issue
Block a user