check-templates: Tweak message for fixes.

This commit is contained in:
Steve Howell 2021-11-24 14:28:06 +00:00
parent d565387657
commit 733cad1f5c
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ def validate_indent_html(fn: str, fix: bool) -> bool:
phtml = pretty_print_html(html) phtml = pretty_print_html(html)
if not html.split("\n") == phtml.split("\n"): if not html.split("\n") == phtml.split("\n"):
if fix: if fix:
print(GREEN + "Automatically fixing problems..." + ENDC) print(GREEN + f"Automatically fixing indentation for {fn}" + ENDC)
with open(fn, "w") as f: with open(fn, "w") as f:
f.write(phtml) f.write(phtml)
# Since we successfully fixed the issues, we return True. # Since we successfully fixed the issues, we return True.