Merge pull request #4636 from zhzhuang-zju/golangci
provide a tips to fix golangci-lint error
This commit is contained in:
commit
c09ca0df25
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue