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,7 +47,8 @@ def check_html_templates(templates, all_dups):
|
|||
templates)
|
||||
templates = sorted(list(templates))
|
||||
# Use of underscore templates <%= %>.
|
||||
templates.remove('templates/zerver/team.html')
|
||||
if 'templates/zerver/team.html' in templates:
|
||||
templates.remove('templates/zerver/team.html')
|
||||
|
||||
template_id_dict = build_id_dict(templates)
|
||||
# TODO: Clean up these cases of duplicate ids in the code
|
||||
|
|
Loading…
Reference in New Issue