mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-08 13:02:53 +02:00
fix travis in cce48a34d0
This commit is contained in:
@ -641,7 +641,8 @@ strip_quote() {
|
|||||||
|
|
||||||
fileout_json_footer() {
|
fileout_json_footer() {
|
||||||
if "$do_json"; then
|
if "$do_json"; then
|
||||||
fileout_json_finding "scanTime" "INFO" "$SCAN_TIME" "" "" ""
|
# no scan time in --severity=low and above, also needed for Travis. Bit hackish...
|
||||||
|
[[ $SEVERITY_LEVEL -lt $LOW ]] && fileout_json_finding "scanTime" "INFO" "$SCAN_TIME" "" "" ""
|
||||||
printf "]\n" >> "$JSONFILE"
|
printf "]\n" >> "$JSONFILE"
|
||||||
fi
|
fi
|
||||||
"$do_pretty_json" && echo -e " ],
|
"$do_pretty_json" && echo -e " ],
|
||||||
|
Reference in New Issue
Block a user