mirror of
https://github.com/danielmiessler/SecLists
synced 2026-02-20 22:47:34 +01:00
Update validators.py
This commit is contained in:
parent
997dca7afc
commit
5433460af5
1 changed files with 2 additions and 2 deletions
|
|
@ -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,warn_msg,error_msg))
|
||||
error_text.append(FORMATTED_OUTPUT_FORMAT%(checker,description,error_msg,warn_msg))
|
||||
|
||||
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:
|
||||
print_err(".bin/validators.py","[!] Not all checks passed.")
|
||||
exit(2)
|
||||
exit(2)
|
||||
|
|
|
|||
Loading…
Reference in a new issue