From f3d98514b056d8c71a3552e8328c225bc7f6f353 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=A3o=20Silva?= <37107350+simao-silva@users.noreply.github.com> Date: Sun, 14 Jan 2024 21:28:49 +0000 Subject: [PATCH] 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 --- entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index 8d3563d..38832fe 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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