mirror of
https://github.com/golang/go
synced 2024-11-18 17:54:57 -07: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:
parent
6f4a86804e
commit
e21233ffa6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user