Remove trailing whitespace in rootcmd (#606)
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
ccaecb155a
commit
b95ab734e2
@ -174,7 +174,7 @@ func Execute() {
|
||||
}
|
||||
}
|
||||
|
||||
func init() { {{if .viper}}
|
||||
func init() { {{- if .viper}}
|
||||
cobra.OnInitialize(initConfig)
|
||||
{{end}}
|
||||
// Here you will define your flags and configuration settings.
|
||||
|
2
cobra/cmd/testdata/root.go.golden
vendored
2
cobra/cmd/testdata/root.go.golden
vendored
@ -49,7 +49,7 @@ func Execute() {
|
||||
}
|
||||
}
|
||||
|
||||
func init() {
|
||||
func init() {
|
||||
cobra.OnInitialize(initConfig)
|
||||
|
||||
// Here you will define your flags and configuration settings.
|
||||
|
Loading…
Reference in New Issue
Block a user