Commit da3a63e1 authored by SBassett's avatar SBassett
Browse files

* This appears to be the only way to echo newlines for gitlab ci console output :/

parent f9198216
Pipeline #1386 passed with stage
in 46 seconds
......@@ -27,18 +27,18 @@ npm_audit_dependency_check:
npm_dir="$(dirname "$f")"
cd $root_dir/$npm_dir
npm install --package-lock-only
echo ""
echo "----- $f -----"
echo ""
echo -e "\n"
echo -e "----- $f -----"
echo -e "\n"
set -e
EXIT_CODE=0
audit-ci ${WM_APPSEC_NPM_AUDIT_OPTIONS} || EXIT_CODE=$?
TOTAL_EXIT_CODES=$(($TOTAL_EXIT_CODES + $EXIT_CODE))
done
if [ "$TOTAL_EXIT_CODES" -gt 0 ]; then
echo ""
echo "At least one package.json file contained vulnerable dependencies, please review."
echo ""
echo -e "\n"
echo -e "At least one package.json file contained vulnerable dependencies, please review."
echo -e "\n"
exit 1
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment