Update validators.py

This commit is contained in:
Mo Langning
2024-04-05 08:28:04 +08:00
committed by GitHub
parent 997dca7afc
commit 5433460af5
+1 -1
View File
@@ -312,7 +312,7 @@ else:
warn_msg='\n'.join(results["warn"]) warn_msg='\n'.join(results["warn"])
else: else:
warn_msg="There are no warnings for this check!" warn_msg="There are no warnings for this check!"
error_text.append(FORMATTED_OUTPUT_FORMAT%(checker,description,warn_msg,error_msg)) error_text.append(FORMATTED_OUTPUT_FORMAT%(checker,description,error_msg,warn_msg))
error_text='\n- - -\n'.join(error_text) error_text='\n- - -\n'.join(error_text)