mirror of
https://github.com/golang/go
synced 2024-11-18 17:54:57 -07:00
548b770e2d
This change reorders the logic within ModTidyHandle and ParseModHandle to parse the modfile first before we copy the contents to the temporary go.mod file. This was causing issues where a go.mod would be in a bad state and then we would try to run "go mod tidy" on the corrupted file. Change-Id: I1df8fb70f5f3e2bcff306a58b16bc96c32debf2a Reviewed-on: https://go-review.googlesource.com/c/tools/+/219480 Run-TryBot: Rohan Challa <rohan@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
debug.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
load.go | ||
mod.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go |