Make 'hide-progress' input working again (#323)

* Make hide-progress input working again

* Unify 'hide-progress' default value
This commit is contained in:
uridium
2024-03-28 19:06:30 -06:00
committed by GitHub
parent d710430a67
commit f72b7e8127
3 changed files with 9 additions and 10 deletions
+3 -3
View File
@@ -137,7 +137,7 @@ if [ $skipDirs ];then
fi
if [ $tfVars ] && [ "$scanType" == "config" ];then
ARGS="$ARGS --tf-vars $tfVars"
fi
fi
if [ $trivyIgnores ];then
for f in $(echo $trivyIgnores | tr "," "\n")
@@ -162,8 +162,8 @@ if [ $ignorePolicy ];then
SARIF_ARGS="$SARIF_ARGS --ignore-policy $ignorePolicy"
fi
if [ "$hideProgress" == "true" ];then
ARGS="$ARGS --no-progress"
SARIF_ARGS="$SARIF_ARGS --no-progress"
ARGS="$ARGS --quiet"
SARIF_ARGS="$SARIF_ARGS --quiet"
fi
listAllPkgs=$(echo $listAllPkgs | tr -d '\r')