Skip to content

Commit

Permalink
fix: filter-mode behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowCait committed Aug 5, 2024
1 parent 3d4a021 commit 299520c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ if [[ "${INPUT_REPORTER}" == "github-pr-review" ]]; then
fi

# Throw error if an error occurred and fail_on_error is true
if [[ "${INPUT_FAIL_ON_ERROR}" == "true" \
&& ( "${textlint_exit_val}" != "0" \
|| "${reviewdog_exit_val}" != "0" ) \
]]; then
if [[ "${INPUT_FAIL_ON_ERROR}" == "true" && "${reviewdog_exit_val}" != "0" ]]; then
exit 1
fi

Expand Down

0 comments on commit 299520c

Please sign in to comment.