]> Cypherpunks repositories - gostls13.git/commit
cmd/doc: continue searching after error reading directory
authorQuentin Smith <quentin@golang.org>
Fri, 21 Oct 2016 20:48:50 +0000 (16:48 -0400)
committerQuentin Smith <quentin@golang.org>
Mon, 24 Oct 2016 15:25:33 +0000 (15:25 +0000)
commit699fb0fc5b654b714d7e8be5628646c0b063d523
tree0edb84e473489478950e5bce250cb0a0fc0b8b81
parent8419c85eaa014a6b8f3485a4e27520a3acd31601
cmd/doc: continue searching after error reading directory

If a directory in GOPATH is unreadable, we should keep looking for other
packages. Otherwise we can give the misleading error "no buildable Go
source files".

Fixes #16240

Change-Id: I38e1037f56ec463d3c141f0508fb74211cb90f13
Reviewed-on: https://go-review.googlesource.com/31713
Run-TryBot: Quentin Smith <quentin@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/doc/dirs.go