Browse Source

build: Remove obsolete check for vendoring support

Skip-check: authors

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4008
andresvia 8 years ago
parent
commit
566c348b00
1 changed files with 1 additions and 3 deletions
  1. 1 3
      build.go

+ 1 - 3
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