1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:08:36 -06:00
go/cmd
Dmitri Shuralyov cccd43354a cmd/vet: fix bug where incorrect exit code was returned
Fixes golang/go#8792.

This is a simple change that fixes the issue. It may be desireable
to opt for a larger code change that makes this problem less likely
to be inadvertedly reintroduced in the future. For instance, a vetMain()
func can be used similar to gofmtMain(), or the os.Exit call can be
deferred.

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/150850043
2014-10-02 10:33:35 -07:00
..
benchcmp benchcmp: Fix invocation instructions. 2014-07-22 17:50:39 +10:00
cover cmd/cover: add start lines numbers to each function in -func mode 2014-08-21 16:28:12 -07:00
eg cmd/eg: add -beforeedit flag, which specifies a command to run before editing a file. 2014-08-26 15:52:40 -04:00
godex go.tools/go/gccgoimporter: keep track of package and import priority 2014-06-17 10:56:47 -07:00
godoc go.tools/godoc: deal with fallout from $GOROOT/src/pkg -> $GOROOT/src renaming. 2014-09-10 09:02:54 -04:00
goimports go.tools/cmd/goimports: update doc.go to new emacs instructions 2014-07-01 10:24:22 -07:00
gorename refactor: minor no-op fixes 2014-09-23 15:17:49 -04:00
gotype go.tools/cmd/gotype: fix call site (fix build) 2014-06-17 11:06:19 -07:00
html2article html2article: Ignore empty anchor elements and obtain the original url from Google Docs 2014-08-19 17:55:46 -07:00
oracle go.tools/*: replace $GOROOT/src/pkg with $GOROOT/src where appropriate. 2014-09-08 13:24:38 -04:00
present go.tools/cmd/present: track page views for every slide. 2014-08-05 16:02:39 -07:00
ssadump go.tools/cmd/ssadump: print packages and functions to stdout, not stderr. 2014-08-01 14:44:37 -04:00
stringer go.tools/cmd/stringer: fix docs: stringer is not a "go tool" 2014-09-09 13:29:38 -07:00
vet cmd/vet: fix bug where incorrect exit code was returned 2014-10-02 10:33:35 -07:00