You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
x/exp/cmd/gorelease: specify which incomplete requirements were missing
Fixesgolang/go#38164
Change-Id: I71a3edeb4445c568ae7a94f7c30da68682104f02
Reviewed-on: https://go-review.googlesource.com/c/exp/+/253039
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Trust: Jay Conrod <jayconrod@google.com>
Trust: Jean de Klerk <deklerk@google.com>
diagnostics=append(diagnostics, "go.sum: one or more sums are missing.\nRun 'go mod tidy' to add missing sums.")
990
+
varmissing []string
991
+
for_, req:=rangenewReqs {
992
+
if!oldMap[req] {
993
+
missing=append(missing, req)
998
994
}
999
995
}
1000
996
997
+
iflen(missing) >0 {
998
+
diagnostics=append(diagnostics, fmt.Sprintf("go.mod: the following requirements are needed\n\t%s\nRun 'go mod tidy' to add missing requirements.", strings.Join(missing, "\n\t")))
0 commit comments