We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d47889a commit 8ffe4cdCopy full SHA for 8ffe4cd
internal/pkg/config/config.go
@@ -127,6 +127,7 @@ func initConfig(configPath string) {
127
// This hack is required to allow creating the config file with `viper.WriteConfig`
128
// see https://github.com/spf13/viper/issues/851#issuecomment-789393451
129
viper.SetConfigFile(configFilePath)
130
+ viper.SetConfigType(configFileExtension)
131
132
f, err := os.Open(configFilePath)
133
if !os.IsNotExist(err) {
0 commit comments