provide a tips to fix golangci-lint error
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
This commit is contained in:
parent
f03b5e9803
commit
98c6158c06
|
@ -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