Merge pull request #4636 from zhzhuang-zju/golangci

provide a tips to fix golangci-lint error
This commit is contained in:
karmada-bot 2024-04-19 16:49:57 +08:00 committed by GitHub
commit c09ca0df25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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