mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user