Skip to content

Commit

Permalink
Fixed remark CLI usage
Browse files Browse the repository at this point in the history
  • Loading branch information
prologic committed Jan 25, 2020
1 parent 5686805 commit 09a9260
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ if [ "${INPUT_REPORTER}" = 'github-pr-review' ]; then
exit 1
else
# github-pr-check,github-check (GitHub Check API) doesn't support markdown annotation.
remark . -use preset-lint-markdown-style-guide |
reviewdog -f="checkstyle" -name="remark-lint" -reporter="${INPUT_REPORTER:-github-pr-check}" -level="${INPUT_LEVEL}"
remark . | reviewdog -f="checkstyle" -name="remark-lint" -reporter="${INPUT_REPORTER:-github-pr-check}" -level="${INPUT_LEVEL}"
fi

0 comments on commit 09a9260

Please sign in to comment.