From 2998a02dc5ccc90e67e1528c68c57615a4485bc6 Mon Sep 17 00:00:00 2001 From: "Tomachi [ICHIGO]" Date: Tue, 25 Jan 2022 05:33:26 +0900 Subject: [PATCH] ci: fix grep line count --- .github/workflows/check-system-print.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-system-print.yml b/.github/workflows/check-system-print.yml index 8dfa0760e..73697bc59 100644 --- a/.github/workflows/check-system-print.yml +++ b/.github/workflows/check-system-print.yml @@ -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