Skip to content
Snippets Groups Projects
Commit 8a16b14c authored by Jose Raul Barreras's avatar Jose Raul Barreras
Browse files

improve output format

parent 16f2b38d
Branches
No related tags found
4 merge requests!34develop to master,!18sync dependency-check with secrets-detection,!17Resolve "Add Dependency Check",!16Resolve "Add Automated Secrets Detection"
......@@ -5,7 +5,7 @@ while [ -n "$1" ]; do
case "$1" in
-s)
OUTPUT=`/usr/local/bin/detect-secrets scan`
echo ${OUTPUT}
echo ${OUTPUT} | jq
RESULT=`echo ${OUTPUT} | jq '.results | length == 0'`
if [ "${RESULT}" = "true" ]; then
exit 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment