Commit a70594d9 authored by SBassett's avatar SBassett
Browse files

Try this method to trap exit codes...

parent 4a9d3380
Pipeline #1368 passed with stage
in 46 seconds
......@@ -23,7 +23,10 @@ npm_audit_dependency_check:
echo -e "\n "
echo -e "----- $f -----"
echo -e "\n "
audit-ci ${NPM_AUDIT_OPTIONS}
set -e
EXIT_CODE=0
audit-ci ${NPM_AUDIT_OPTIONS} || EXIT_CODE=$?
echo $EXIT_CODE
done
# only run on changes to package and package.lock .json
......
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