mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-08-13 09:16:08 +00:00
Update validators.py
This commit is contained in:
+2
-2
@@ -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)
|
||||||
|
|
||||||
@@ -320,4 +320,4 @@ open(STEP_SUMMARY_LOCATION,"w").write(SUMMARY_FORMAT%(table_content,error_text,f
|
|||||||
|
|
||||||
if not all_pass:
|
if not all_pass:
|
||||||
print_err(".bin/validators.py","[!] Not all checks passed.")
|
print_err(".bin/validators.py","[!] Not all checks passed.")
|
||||||
exit(2)
|
exit(2)
|
||||||
|
|||||||
Reference in New Issue
Block a user