From 1762e0a732afeeac29b4798534d1603196fe5649 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Fri, 26 Jul 2024 21:51:33 +0900 Subject: [PATCH] Add a link to CHANGELOG for the -fail-on-error deprecation log --- cmd/reviewdog/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/reviewdog/main.go b/cmd/reviewdog/main.go index 2a1d75a..f905c3b 100644 --- a/cmd/reviewdog/main.go +++ b/cmd/reviewdog/main.go @@ -1035,7 +1035,7 @@ func localDiffService(opt *option) (reviewdog.DiffService, error) { func failLevel(opt *option) reviewdog.FailLevel { if opt.failOnError { - slog.Warn("reviewdog: -fail-on-error is deprecated. Use -fail-level=any, or -fail-level=error for github-[pr-]check reporter instead.") + slog.Warn("reviewdog: -fail-on-error is deprecated. Use -fail-level=any, or -fail-level=error for github-[pr-]check reporter instead. See also https://github.com/reviewdog/reviewdog/blob/master/CHANGELOG.md") if opt.failLevel == reviewdog.FailLevelDefault { switch opt.reporter { default: