mirror of https://github.com/spf13/viper.git
chore(viper): gofmt
This commit is contained in:
parent
70f0ec38dd
commit
630d0d3b29
2
viper.go
2
viper.go
|
@ -1152,7 +1152,7 @@ func (v *Viper) ReadInConfig() error {
|
||||||
fileExt := filepath.Ext(filename)
|
fileExt := filepath.Ext(filename)
|
||||||
|
|
||||||
if stringInSlice(fileExt, SupportedExts) {
|
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.")
|
"Consider using SetConfigType method instead.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue