1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:18:32 -06:00

go/packages: remove unnecessary TODO

See adonovan's comment here:
https://go-review.googlesource.com/c/tools/+/146757/6/go/packages/golist.go#330

Change-Id: I7885fc1e7787c6b265be345f8622476b69d14325
Reviewed-on: https://go-review.googlesource.com/c/147447
Reviewed-by: Ian Cottrell <iancottrell@google.com>
This commit is contained in:
Michael Matloob 2018-11-05 18:13:37 -05:00
parent 6f4a86804e
commit e21233ffa6

View File

@ -347,7 +347,7 @@ func runNamedQueries(cfg *Config, driver driver, addPkg func(*Package), queries
}
func getSizes(cfg *Config) (types.Sizes, error) {
stdout, err := invokeGo(cfg, "env", "GOARCH") // TODO(matloob): perhaps merge this call with the roots call?
stdout, err := invokeGo(cfg, "env", "GOARCH")
if err != nil {
return nil, err
}