fix travis in cce48a34d0
This commit is contained in:
parent
cce48a34d0
commit
209b21c817
|
@ -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 " ],
|
||||||
|
|
Loading…
Reference in New Issue