mirror of https://github.com/zulip/zulip.git
lint: Fix check-templates handling of team.html.
This prevents some unnecessary error messages when running the linter on a single file.
This commit is contained in:
parent
13a1b44aa8
commit
d639e31641
|
@ -47,6 +47,7 @@ def check_html_templates(templates, all_dups):
|
|||
templates)
|
||||
templates = sorted(list(templates))
|
||||
# Use of underscore templates <%= %>.
|
||||
if 'templates/zerver/team.html' in templates:
|
||||
templates.remove('templates/zerver/team.html')
|
||||
|
||||
template_id_dict = build_id_dict(templates)
|
||||
|
|
Loading…
Reference in New Issue