Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Merge pull request #668 from book000/ci/fix
Browse files Browse the repository at this point in the history
ci: fix count process
  • Loading branch information
book000 authored Jan 24, 2022
2 parents 0a4ab9f + d7659db commit 17bda2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-system-print.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: Check using System.out.print
run: |
COUNT=`grep -rE "System\.(out|err)\.print" --include=*.java src/main > ../system-prints.txt || true`
COUNT=`grep -rE "System\.(out|err)\.print" --include=*.java src/main | tee ../system-prints.txt | wc -l || true`
echo count: $COUNT
cat ../system-prints.txt
cat ../system-prints.txt | reviewdog -efm="%f:%l" -name="Check using System.out/err.print" -reporter=github-pr-review -level=warning
Expand Down

0 comments on commit 17bda2d

Please sign in to comment.