1
0
mirror of https://github.com/golang/go synced 2024-11-18 22:04:43 -07:00
go/internal/imports
Jay Conrod 5a5cfefe1f x/tools/internal/imports: don't load package names for empty list
goimports should not attempt to load package names for an empty list
of packages. 'go list' interprets an empty argument list as '.', which
may or may not be a package.

Fixes golang/go#33175

Change-Id: Id8df148432437295905c52f2d5fb73d890277569
Reviewed-on: https://go-review.googlesource.com/c/tools/+/188379
Run-TryBot: Jay Conrod <jayconrod@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2019-07-31 21:28:42 +00:00
..
testdata/mod
fix_test.go x/tools/internal/imports: don't load package names for empty list 2019-07-31 21:28:42 +00:00
fix.go x/tools/internal/imports: don't load package names for empty list 2019-07-31 21:28:42 +00:00
imports.go internal/lsp, internal/imports: use the internal goimports library 2019-07-01 19:45:22 +00:00
mkindex.go
mkstdlib.go
mod_112_test.go
mod_test.go internal/imports: save scanned module cache results 2019-07-18 20:03:17 +00:00
mod.go internal/imports: save scanned module cache results 2019-07-18 20:03:17 +00:00
proxy_112_test.go
proxy_113_test.go
sortimports.go
zstdlib.go