2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 08:30:39 +00:00

chore: fixed validate branch on update

This commit is contained in:
Gavin D'souza 2020-01-21 14:27:00 +05:30
parent 8d792190b4
commit 03c4d9610a

View File

@ -425,7 +425,7 @@ def get_apps_json(path):
def validate_branch():
installed_apps = set(get_apps())
check_apps = set(['frappe', 'erpnext'])
intersection_apps = installed_apps and check_apps
intersection_apps = installed_apps.intersection(check_apps)
for app in intersection_apps:
branch = get_current_branch(app)