diff options
Diffstat (limited to 'vendor/golang.org/x/tools/imports/fix.go')
-rw-r--r-- | vendor/golang.org/x/tools/imports/fix.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/golang.org/x/tools/imports/fix.go b/vendor/golang.org/x/tools/imports/fix.go index a241c2976..c74bdd2c0 100644 --- a/vendor/golang.org/x/tools/imports/fix.go +++ b/vendor/golang.org/x/tools/imports/fix.go @@ -462,6 +462,9 @@ func shouldTraverse(dir string, fi os.FileInfo) bool { if !ts.IsDir() { return false } + if skipDir(ts) { + return false + } realParent, err := filepath.EvalSymlinks(dir) if err != nil { |