Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Alireza Bashiri committed May 4, 2020
1 parent 0379486 commit cc57f94
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ cd "$GITHUB_WORKSPACE"

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"

gem install -N standardrb $(version $INPUT_RUBOCOP_VERSION)

# echo $INPUT_RUBOCOP_EXTENSIONS | xargs gem install -N
gem install -N standard $(version $INPUT_RUBOCOP_VERSION)

standardrb ${INPUT_RUBOCOP_FLAGS} \
| reviewdog -f=rubocop -name="${INPUT_TOOL_NAME}" -reporter="${INPUT_REPORTER}" -level="${INPUT_LEVEL}"
| reviewdog -f=rubocop -reporter="${INPUT_REPORTER}" -level="${INPUT_LEVEL}"

0 comments on commit cc57f94

Please sign in to comment.