diff --git a/viper.go b/viper.go index 0d03fa5..ecb2462 100644 --- a/viper.go +++ b/viper.go @@ -1152,7 +1152,7 @@ func (v *Viper) ReadInConfig() error { fileExt := filepath.Ext(filename) if stringInSlice(fileExt, SupportedExts) { - log.Println("warning:", "Looks like you have included the file extention in the file name." + + log.Println("warning:", "Looks like you have included the file extention in the file name."+ "Consider using SetConfigType method instead.") }