provide a tips to fix golangci-lint error

Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
zhzhuang-zju 2024-04-12 17:33:13 +08:00
parent f03b5e9803
commit 98c6158c06
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ if golangci-lint run; then
else else
echo # print one empty line, separate from warning messages. echo # print one empty line, separate from warning messages.
echo 'Please review the above warnings.' 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.' echo 'If the above warnings do not make sense, feel free to file an issue.'
exit 1 exit 1
fi fi