Skip to content

Commit

Permalink
Fix shellcheck violation / SC2086
Browse files Browse the repository at this point in the history
  • Loading branch information
shmokmt committed Oct 25, 2024
1 parent 786a1ce commit 2585b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ echo '::endgroup::'


echo '::group:: Running staticcheck with reviewdog 🐶 ...'
staticcheck ${INPUT_STATICCHECK_FLAGS} -f=json ${INPUT_TARGET:-.} \
staticcheck "${INPUT_STATICCHECK_FLAGS}" -f=json "${INPUT_TARGET:-.}" \
| jq -f "${GITHUB_ACTION_PATH}/to-rdjsonl.jq" -c | \
reviewdog \
-f="rdjsonl" \
Expand All @@ -24,7 +24,7 @@ staticcheck ${INPUT_STATICCHECK_FLAGS} -f=json ${INPUT_TARGET:-.} \
-filter-mode="${INPUT_FILTER_MODE}" \
-fail-on-error="${INPUT_FAIL_ON_ERROR}" \
-level="${INPUT_LEVEL}" \
${INPUT_REVIEWDOG_FLAGS}
"${INPUT_REVIEWDOG_FLAGS}"

exit_code=$?
echo '::endgroup::'
Expand Down

0 comments on commit 2585b5c

Please sign in to comment.