Skip to content

Commit

Permalink
fix more whitespace in golden root file
Browse files Browse the repository at this point in the history
  • Loading branch information
jharshman committed Dec 23, 2019
1 parent b35b035 commit 8239805
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cobra/cmd/testdata/root.go.golden
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (

homedir "github.com/mitchellh/go-homedir"
"github.com/spf13/viper"

)

var cfgFile string
Expand Down Expand Up @@ -65,7 +64,6 @@ func init() {
rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}


// initConfig reads in config file and ENV variables if set.
func initConfig() {
if cfgFile != "" {
Expand All @@ -91,4 +89,3 @@ func initConfig() {
fmt.Println("Using config file:", viper.ConfigFileUsed())
}
}

0 comments on commit 8239805

Please sign in to comment.