Skip to content

Commit

Permalink
fix: Fix skip-files and hide-progress options not being applied w…
Browse files Browse the repository at this point in the history
…hen using Sarif report format (#297)

* Update entrypoint.sh

* Update entrypoint.sh

* Update entrypoint.sh
  • Loading branch information
simao-silva authored Jan 14, 2024
1 parent 0b9d17b commit f3d9851
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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

Expand Down

0 comments on commit f3d9851

Please sign in to comment.