From 9a01551f753bccb4309e356ed8151880b0449bb5 Mon Sep 17 00:00:00 2001 From: Markus Rudy Date: Wed, 5 Jun 2024 16:45:27 +0200 Subject: [PATCH] ci: don't filter output of govulncheck (#3148) --- bazel/ci/govulncheck.sh.in | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bazel/ci/govulncheck.sh.in b/bazel/ci/govulncheck.sh.in index 0ea07b10c..560cc6ace 100644 --- a/bazel/ci/govulncheck.sh.in +++ b/bazel/ci/govulncheck.sh.in @@ -27,16 +27,11 @@ PATH=$(dirname "${go}"):${PATH} check() { err=0 - echo "Scanning Go vulnerability DB for knwon vulnerabilities in modules:" + echo "Scanning Go vulnerability DB for known vulnerabilities in modules:" for mod in ${submodules}; do echo " ${mod}" echo -n " " - CGO_ENABLED=0 ${govulncheck} -C "${mod}" "./..." | - tail -n 2 | # Providing some nice output... - tr '\n' ' ' | - sed s/" your code and"// && - printf "\n" || - err=$? + CGO_ENABLED=0 ${govulncheck} -C "${mod}" "./..." || err=$? done exit "${err}"