golint zero exit code
Closed this issue · 0 comments
insidieux commented
Describe the bug
lint-golint
stage in Makefile
does not return error code on non empty warnings after processing.
To Reproduce
- Remove comment from one of exported type in source code
make lint-golint
Expected behavior
As the result make
must fail and return non zero exit code.
make[1]: *** [lint-golint] Error 1
make: *** [lint] Error 2
Environment:
- Version: v1.0.0
- GOOS: darwin, linux
Additional context
In golint
documentation there is a flag --set_exit_status
, which must solve problem.