build: Remove obsolete check for vendoring support
Skip-check: authors GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4008
This commit is contained in:
parent
190f153b92
commit
566c348b00
4
build.go
4
build.go
|
@ -366,9 +366,7 @@ func checkRequiredGoVersion() (float64, bool) {
|
|||
log.Printf("*** Couldn't parse Go version out of %q.\n*** This isn't known to work, proceed on your own risk.", vs)
|
||||
return 0, false
|
||||
}
|
||||
if f < 1.5 {
|
||||
log.Printf("*** Go version %.01f doesn't support the vendoring mechanism.\n*** Ensure correct dependencies in your $GOPATH.", f)
|
||||
} else if f < minGoVersion {
|
||||
if f < minGoVersion {
|
||||
log.Fatalf("*** Go version %.01f is less than required %.01f.\n*** This is known not to work, not proceeding.", f, minGoVersion)
|
||||
}
|
||||
return f, true
|
||||
|
|
Loading…
Reference in New Issue