fix(junit_xml output): Fix XML output integration (#1210)

Co-authored-by: sergargar <sergio@verica.io>
This commit is contained in:
Sergio Garcia
2022-06-20 13:27:54 +02:00
committed by GitHub
co-authored by sergargar
parent 89416f37af
commit 05f98fe993
5 changed files with 7 additions and 14 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ general_output() {
if [[ "${SEND_TO_SECURITY_HUB}" -eq 1 ]]; then
sendToSecurityHub "${JSON_ASFF_OUTPUT}" "${REGION_FROM_CHECK}"
fi
elif is_junit_output_enabled
elif [[ "${MODE_TYPE}" == "junit-xml" ]]
then
if [ "${CHECK_RESULT}" == 'PASS' ]
then