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:
andresvia 2017-02-26 15:12:20 +00:00 committed by Jakob Borg
parent 190f153b92
commit 566c348b00
1 changed files with 1 additions and 3 deletions

View File

@ -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