2
0
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:
Ameya Shenoy 2018-09-19 15:34:52 +05:30 committed by GitHub
commit b5657c160c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)