Skip to content

Commit

Permalink
Merge pull request #10 from pokt-network/ag-exit-0
Browse files Browse the repository at this point in the history
Ag should exit with 0 when no matches present
  • Loading branch information
okdas authored Oct 23, 2023
2 parents 864ff19 + 261d7e8 commit 2d799c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

# Run AG to output the results to stdout
ag --vimgrep "${INPUT_PATTERN}" --ignore "${INPUT_IGNORE}" .
ag --vimgrep "${INPUT_PATTERN}" --ignore "${INPUT_IGNORE}" . || true

# Run it again, but this time piping the results to reviewdog
ag --vimgrep "${INPUT_PATTERN}" --ignore "${INPUT_IGNORE}" . \
Expand Down

0 comments on commit 2d799c2

Please sign in to comment.