Issue: Bug report
bench\bench.py line 92
When reading excluded_apps.txt, app names with internal spaces (e.g. "erp next", " hrms ") are not normalized. This causes mismatches when comparing app names later in Bench logic.
Create sites/excluded_apps.txt with contents:
Run any Bench command that checks excluded apps.
Observe that "erp next" is treated as a distinct string, not "erpnext".
Expected behavior 📈
App names should be cleaned so that both leading/trailing and internal whitespace are removed. For example:
"erp next" → "erpnext"
" hrms " → "hrms"
Possible Solution:
with open(self.excluded_apps_txt) as f:
return [line.strip().replace(" ", "") for line in f if line.strip()]
Issue: Bug report
bench\bench.py line 92
When reading excluded_apps.txt, app names with internal spaces (e.g. "erp next", " hrms ") are not normalized. This causes mismatches when comparing app names later in Bench logic.
Create sites/excluded_apps.txt with contents:
Run any Bench command that checks excluded apps.
Observe that "erp next" is treated as a distinct string, not "erpnext".
Expected behavior 📈
App names should be cleaned so that both leading/trailing and internal whitespace are removed. For example:
"erp next" → "erpnext"
" hrms " → "hrms"
Possible Solution: