From 8b020ac007a669659193ada570ce1e2105d1e829 Mon Sep 17 00:00:00 2001 From: Mo Langning <133737702+molangning@users.noreply.github.com> Date: Fri, 5 Apr 2024 10:00:33 +0800 Subject: [PATCH] Update validators.py --- .bin/validators.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bin/validators.py b/.bin/validators.py index 4233fff4..8f96395b 100755 --- a/.bin/validators.py +++ b/.bin/validators.py @@ -26,13 +26,13 @@ FORMATTED_OUTPUT_FORMAT=""" - - - -Errors +Warnings ``` %s ``` -Warnings +Errors ``` %s @@ -312,7 +312,7 @@ else: warn_msg='\n'.join(results["warn"]) else: warn_msg="There are no warnings for this check!" - error_text.append(FORMATTED_OUTPUT_FORMAT%(checker,description,error_msg,warn_msg)) + error_text.append(FORMATTED_OUTPUT_FORMAT%(checker,description,warn_msg,error_msg)) error_text='\n- - -\n'.join(error_text)