fix: Fix skip-files and hide-progress options not being applied when using Sarif report format (#297)

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh
This commit is contained in:
Simão Silva
2024-01-14 21:28:49 +00:00
committed by GitHub
parent 0b9d17b6b5
commit f3d98514b0
+2
View File
@@ -163,6 +163,7 @@ if [ $ignorePolicy ];then
fi fi
if [ "$hideProgress" == "true" ];then if [ "$hideProgress" == "true" ];then
ARGS="$ARGS --no-progress" ARGS="$ARGS --no-progress"
SARIF_ARGS="$SARIF_ARGS --no-progress"
fi fi
listAllPkgs=$(echo $listAllPkgs | tr -d '\r') listAllPkgs=$(echo $listAllPkgs | tr -d '\r')
@@ -173,6 +174,7 @@ if [ "$skipFiles" ];then
for i in $(echo $skipFiles | tr "," "\n") for i in $(echo $skipFiles | tr "," "\n")
do do
ARGS="$ARGS --skip-files $i" ARGS="$ARGS --skip-files $i"
SARIF_ARGS="$SARIF_ARGS --skip-files $i"
done done
fi fi