Skip to content
Myr

Remove trailing whitespace in rootcmd (#606)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Patrick Uiterwijk · committed by Albert Nigmatzianov · parent ccaecb1 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:cobra/cmd/testdata/root.go.golden+1 added-1 removed
47 unmodified lines
48 os.Exit(1)49 }50}5152func init() { 52func init() {53 cobra.OnInitialize(initConfig)5455 // Here you will define your flags and configuration settings.56 // Cobra supports persistent flags, which, if defined here,
33 unmodified lines
modified:cobra/cmd/init.go+1 added-1 removed
172 unmodified lines
173 os.Exit(1)174 }175}176177func init() { {{if .viper}}177func init() { {{- if .viper}}178 cobra.OnInitialize(initConfig)179{{end}}180 // Here you will define your flags and configuration settings.181 // Cobra supports persistent flags, which, if defined here,
53 unmodified lines