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
pull/304/head
Simão Silva 4 months ago committed by GitHub
parent 0b9d17b6b5
commit f3d98514b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -163,6 +163,7 @@ if [ $ignorePolicy ];then
fi
if [ "$hideProgress" == "true" ];then
ARGS="$ARGS --no-progress"
SARIF_ARGS="$SARIF_ARGS --no-progress"
fi
listAllPkgs=$(echo $listAllPkgs | tr -d '\r')
@ -173,6 +174,7 @@ if [ "$skipFiles" ];then
for i in $(echo $skipFiles | tr "," "\n")
do
ARGS="$ARGS --skip-files $i"
SARIF_ARGS="$SARIF_ARGS --skip-files $i"
done
fi

Loading…
Cancel
Save