Over time, a number of modules were added that used Warn instead of Bad to report problems with the code, but the documentation states that if there is a problem, the exit code must be 1, not 0. Warn does not set the exit code and should be used only for internal errors and messages triggered by the -v flag. There's nothing substantive here except calling the other function in a few places. Fixes golang/go#7017. LGTM=crawshaw R=golang-codereviews, crawshaw CC=golang-codereviews https://golang.org/cl/71860044 |
||
|---|---|---|
| .. | ||
| benchcmp | ||
| cover | ||
| godoc | ||
| goimports | ||
| gotype | ||
| html2article | ||
| oracle | ||
| ssadump | ||
| vet | ||