Skip to content

Commit

Permalink
fix: set valid config file name
Browse files Browse the repository at this point in the history
  • Loading branch information
Madh93 committed Jul 14, 2023
1 parent ea1f49c commit 228502e
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 @@ -48,7 +48,7 @@ func initConfig() {
viper.SetConfigFile(cfgFile)
} else {
// Config name
viper.SetConfigName("toffu")
viper.SetConfigName("toffu.json")
viper.SetConfigType("json")

// Default config file
Expand Down

0 comments on commit 228502e

Please sign in to comment.