mirror of
https://github.com/golang/go
synced 2024-11-18 22:44:48 -07:00
544dc8ea2d
This change adds the -e flag to ensure that we get the release tags when we are checking if the go version is at least 1.14. This also adjusts the check to be more lenient when it comes to processing the output of the version check. This also fixes another issue where if the version is not 1.14 we were publishing empty diagnostics for an empty uri. This arose because we did not check if there was a valid go.mod file before we published the reports. Fixes golang/go#36488 Change-Id: I5a8057c153f49167811e2bf8e4ade52bf6171d6b Reviewed-on: https://go-review.googlesource.com/c/tools/+/214290 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
testdata | ||
diagnostics.go | ||
mod_test.go |