Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

check-templates: Tweak message for fixes.

Steve Howell733cad1f5c2f
diff --git a/tools/lib/pretty_print.py b/tools/lib/pretty_print.py
index 585acd69297..85bbeeabead 100644
--- a/tools/lib/pretty_print.py
+++ b/tools/lib/pretty_print.py
@@ -203,7 +203,7 @@ def validate_indent_html(fn: str, fix: bool) -> bool:
phtml = pretty_print_html(html)
if not html.split("\n") == phtml.split("\n"):
if fix:
- print(GREEN + "Automatically fixing problems..." + ENDC)
+ print(GREEN + f"Automatically fixing indentation for {fn}" + ENDC)
with open(fn, "w") as f:
f.write(phtml)
# Since we successfully fixed the issues, we return True.