Skip to content
Snippets Groups Projects
Commit 8ef5ccac authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: dump entire ci-lint reponse

parent 0e2e85e0
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
echo -e "[\e[1;94mINFO\e[0m] $*" echo -e "[\e[1;94mINFO\e[0m] $*"
} }
function log_warn() {
echo -e "[\\e[1;93mWARN\\e[0m] $*"
}
function log_error() { function log_error() {
echo -e "[\e[1;91mERROR\e[0m] $*" >&2 echo -e "[\e[1;91mERROR\e[0m] $*" >&2
} }
...@@ -39,7 +43,7 @@ ...@@ -39,7 +43,7 @@
log_info " ... valid" log_info " ... valid"
else else
log_error " ... invalid" log_error " ... invalid"
echo "$cilint_resp" | jq -r '.errors[]' echo "$cilint_resp" | jq
rc=1 rc=1
fi fi
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment