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 #670 from book000/ci/fix3
Browse files Browse the repository at this point in the history
ci: fix grep line count
  • Loading branch information
book000 authored Jan 24, 2022
2 parents 12e7927 + 2998a02 commit 13b86a2
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 @@ -17,7 +17,7 @@ jobs:

- name: Check using System.out.print
run: |
COUNT=`grep -rE "System\.(out|err)\.print" --include=*.java src/main | tee ../system-prints.txt | wc -l || true`
COUNT=`grep -rEn "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 13b86a2

Please sign in to comment.