mirror of
https://github.com/golang/go
synced 2024-11-06 01:36:10 -07:00
118ac038d7
CL 244117 introduced a bug when modFile == os.DevNull: v.root is left uninitialized, resulting in a view that appears to own all files. Fixing that exposes a problem where opening a folder with no Go files and GO111MODULE=on shows a popup. Skip the popup when no Go files are found. Change-Id: I7f8b2d6fd2f954af64c3a65156ff44c649f3a5b2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/248620 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
keys.go | ||
load.go | ||
mod_tidy.go | ||
mod.go | ||
os_darwin.go | ||
os_windows.go | ||
parse_test.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view_test.go | ||
view.go |