From 566c348b003d3ef35142249b3cb7b2c133446b85 Mon Sep 17 00:00:00 2001 From: andresvia Date: Sun, 26 Feb 2017 15:12:20 +0000 Subject: [PATCH] build: Remove obsolete check for vendoring support Skip-check: authors GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4008 --- build.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build.go b/build.go index ebd6c4f2..2fa70521 100644 --- a/build.go +++ b/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