mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 00:37:51 +00:00
chore: fixed validate branch on update
This commit is contained in:
parent
8d792190b4
commit
03c4d9610a
@ -425,7 +425,7 @@ def get_apps_json(path):
|
|||||||
def validate_branch():
|
def validate_branch():
|
||||||
installed_apps = set(get_apps())
|
installed_apps = set(get_apps())
|
||||||
check_apps = set(['frappe', 'erpnext'])
|
check_apps = set(['frappe', 'erpnext'])
|
||||||
intersection_apps = installed_apps and check_apps
|
intersection_apps = installed_apps.intersection(check_apps)
|
||||||
|
|
||||||
for app in intersection_apps:
|
for app in intersection_apps:
|
||||||
branch = get_current_branch(app)
|
branch = get_current_branch(app)
|
||||||
|
Loading…
Reference in New Issue
Block a user