Skip to content
Myr

fix root.go.golden (#1552)

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

authored by Unai Martinez-Corral · committed by GitHub · parent 1854bb5 · Browse files · 1 file+4 added−1 removed
This commit

State

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

Diff stats

1 file+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:cobra/cmd/testdata/root.go.golden+4 added-1 removed
41 unmodified lines
4243// Execute adds all child commands to the root command and sets flags appropriately.44// This is called by main.main(). It only needs to happen once to the rootCmd.45func Execute() {46 cobra.CheckErr(rootCmd.Execute())46 err := rootCmd.Execute()47 if err != nil {48 os.Exit(1)49 }50}5152func init() {53 cobra.OnInitialize(initConfig)
35 unmodified lines