From 00605601416db92aa8b48f5372977c84ebd666a5 Mon Sep 17 00:00:00 2001 From: Raphael Tiersch Date: Mon, 25 Dec 2017 14:33:02 +0100 Subject: [PATCH] I had a whitespace to much in init.go:init() which shouldn't be there. Fixes failing CirleCI test --- cobra/cmd/init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cobra/cmd/init.go b/cobra/cmd/init.go index db34bbb7..ec21090f 100755 --- a/cobra/cmd/init.go +++ b/cobra/cmd/init.go @@ -185,7 +185,7 @@ func Execute() { func init() { Environ = environ.New(VendorName, ApplicationName) - {{if .viper}} +{{if .viper}} cobra.OnInitialize(initConfig) {{end}} // Here you will define your flags and configuration settings.