mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 13:04:38 +03:00
update to latest golang.org/x/crypto
This commit is contained in:
3
vendor/golang.org/x/mod/modfile/rule.go
generated
vendored
3
vendor/golang.org/x/mod/modfile/rule.go
generated
vendored
@ -513,6 +513,9 @@ func parseReplace(filename string, line *Line, verb string, args []string, fix V
|
||||
nv := ""
|
||||
if len(args) == arrow+2 {
|
||||
if !IsDirectoryPath(ns) {
|
||||
if strings.Contains(ns, "@") {
|
||||
return nil, errorf("replacement module must match format 'path version', not 'path@version'")
|
||||
}
|
||||
return nil, errorf("replacement module without version must be directory path (rooted or starting with ./ or ../)")
|
||||
}
|
||||
if filepath.Separator == '/' && strings.Contains(ns, `\`) {
|
||||
|
Reference in New Issue
Block a user