Skip to content

Commit

Permalink
use viper.SetConfigName (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
becojo authored May 9, 2024
1 parent 3b7e231 commit fc37055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func initConfig() {
viper.SetConfigFile(cfgFile)
} else {
viper.AddConfigPath(".")
viper.SetConfigFile(".poutine.yml")
viper.SetConfigName(".poutine")
}

if err := viper.ReadInConfig(); err != nil {
Expand Down

0 comments on commit fc37055

Please sign in to comment.