Skip to content

Commit

Permalink
fix(remove_app): use app name instead of app path
Browse files Browse the repository at this point in the history
pip 18 does not allow path to repo, instead we use the app name

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
  • Loading branch information
codingCoffee committed Sep 19, 2018
1 parent 2e7619c commit e4e054e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e4e054e

Please sign in to comment.