From a81face618ba4fdb80dc4d687902d9b437ffa1b6 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Sat, 15 Aug 2020 19:00:17 +0200 Subject: builder: simplify Go version check message Signed-off-by: deadprogram --- builder/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/config.go b/builder/config.go index a1adfa194..b3df6efb5 100644 --- a/builder/config.go +++ b/builder/config.go @@ -26,7 +26,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) { return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err) } if major != 1 || minor < 11 || minor > 15 { - return nil, fmt.Errorf("requires go version 1.11, 1.12, 1.13, 1.14, or 1.15, got go%d.%d", major, minor) + return nil, fmt.Errorf("requires go version 1.11 thru 1.15, got go%d.%d", major, minor) } clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT")) return &compileopts.Config{ -- cgit v1.2.3