From: Bjørn Erik Pedersen Date: Sat, 17 Feb 2018 00:24:07 +0000 (+0100) Subject: magefile: Disable Go 1.10 gofmt check for now X-Git-Tag: v0.37~22 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=3ced6f8d4;p=brevno-suite%2Fhugo magefile: Disable Go 1.10 gofmt check for now --- diff --git a/magefile.go b/magefile.go index d483585a..8ab594a0 100644 --- a/magefile.go +++ b/magefile.go @@ -259,5 +259,5 @@ func CheckVendor() error { } func isGoTip() bool { - return strings.Contains(runtime.Version(), "devel") + return strings.Contains(runtime.Version(), "devel") || strings.Contains(runtime.Version(), "1.10") }