Skip to content

Commit c4363d5

Browse files
committed
builder: simplify Go version check message
Signed-off-by: deadprogram <[email protected]>
1 parent 9a66edc commit c4363d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builder/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func NewConfig(options *compileopts.Options) (*compileopts.Config, error) {
2626
return nil, fmt.Errorf("could not read version from GOROOT (%v): %v", goroot, err)
2727
}
2828
if major != 1 || minor < 11 || minor > 15 {
29-
return nil, fmt.Errorf("requires go version 1.11, 1.12, 1.13, 1.14, or 1.15, got go%d.%d", major, minor)
29+
return nil, fmt.Errorf("requires go version 1.11 thru 1.15, got go%d.%d", major, minor)
3030
}
3131
clangHeaderPath := getClangHeaderPath(goenv.Get("TINYGOROOT"))
3232
return &compileopts.Config{

0 commit comments

Comments
 (0)