Remove trailing whitespace in rootcmd (#606)

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2017-12-31 11:15:56 +01:00 committed by Albert Nigmatzianov
parent ccaecb155a
commit b95ab734e2
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ func Execute() {
} }
} }
func init() { {{if .viper}} func init() { {{- if .viper}}
cobra.OnInitialize(initConfig) cobra.OnInitialize(initConfig)
{{end}} {{end}}
// Here you will define your flags and configuration settings. // Here you will define your flags and configuration settings.

View File

@ -49,7 +49,7 @@ func Execute() {
} }
} }
func init() { func init() {
cobra.OnInitialize(initConfig) cobra.OnInitialize(initConfig)
// Here you will define your flags and configuration settings. // Here you will define your flags and configuration settings.