From 98c6158c06f51998ddce2f01ef7b10a5fd082754 Mon Sep 17 00:00:00 2001 From: zhzhuang-zju Date: Fri, 12 Apr 2024 17:33:13 +0800 Subject: [PATCH] provide a tips to fix golangci-lint error Signed-off-by: zhzhuang-zju --- hack/verify-staticcheck.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/verify-staticcheck.sh b/hack/verify-staticcheck.sh index 70fde4da1..4e3bf8127 100755 --- a/hack/verify-staticcheck.sh +++ b/hack/verify-staticcheck.sh @@ -38,6 +38,7 @@ if golangci-lint run; then else echo # print one empty line, separate from warning messages. echo 'Please review the above warnings.' + echo 'Tips: The golangci-lint might help you fix some issues, try with the command "golangci-lint run --fix".' echo 'If the above warnings do not make sense, feel free to file an issue.' exit 1 fi