From 38df4c7e8c7355982eb475f64fb2b7d2dd71e2c6 Mon Sep 17 00:00:00 2001 From: Rokoucha Date: Tue, 19 Sep 2023 15:22:15 +0900 Subject: [PATCH] Add pseudo source line for fix filltering --- script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.sh b/script.sh index 69952cc..4a52790 100755 --- a/script.sh +++ b/script.sh @@ -40,10 +40,10 @@ if [ "$INPUT_REPORTER" = "github-pr-review" ]; then else # shellcheck disable=SC2086 - "$(npm root)"/.bin/prettier --check "${INPUT_PRETTIER_FLAGS}" 2>&1 | sed --regexp-extended 's/(\[warn\].*)$/\1 File is not properly formatted./' \ + "$(npm root)"/.bin/prettier --check "${INPUT_PRETTIER_FLAGS}" 2>&1 | sed --regexp-extended 's/(\[warn\].*)$/\1 1 File is not properly formatted./' \ | reviewdog \ -efm="%-G[warn] Code style issues found in the above file(s). Forgot to run Prettier%. File is not properly formatted." \ - -efm="[%tarn] %f %m" \ + -efm="[%tarn] %f %l %m" \ -efm="%E[%trror] %f: %m (%l:%c)" \ -efm="%C[error]%r" \ -efm="%Z[error]%r" \