fix: don't run server tests on svg change (#35583)

This commit is contained in:
Saqib Ansari 2026-01-01 12:37:38 +05:30 committed by GitHub
parent 2f50f3174f
commit b47ae8a053
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -141,7 +141,7 @@ def is_ci(file):
def is_frontend_code(file): def is_frontend_code(file):
"""Check if the file is frontend code.""" """Check if the file is frontend code."""
return file.lower().endswith((".css", ".scss", ".less", ".sass", ".styl", ".js", ".ts", ".vue", ".html")) return file.lower().endswith((".css", ".scss", ".less", ".sass", ".styl", ".js", ".ts", ".vue", ".html", ".svg"))
def is_docs(file): def is_docs(file):